FIX: Recalculate scores only when approving or transitioning to pending. (PR #13009)

Recalculating a ReviewableFlaggedPost’s score after rejecting or ignoring it sets the score as 0, which means that we can’t find them after reviewing. They don’t surpass the minimum priority threshold and are hidden.

Additionally, we only want to use agreed flags when calculating the different priority thresholds.

GitHub

Awesome, I think this will help a lot.