I am finding that multirating totals and counts (which are used to calculate the averages) are not handled correctly for reviews which are sent for moderation, or when reviews change status, or when reviews are deleted.
Submitting a review through the front end which is automatically approved is fine. The multirating counts are incremented and the ratings are added to the totals.
If I submit a review which is automatically sent for moderation, the counts and totals are also updated. But they should not change at all in this scenario.
If I change the status of a review in WP admin, then the multirating counts and totals do NOT change. e.g. a change from Approved to Pending or move a review to the Trash. Any change away from Approved should change the counts and totals accordingly, and vice versa for a change to Approved status.
Even permanently deleting a Trashed review does not update the multirating totals and counts for the related post!
Basically it seems like multirating counts and totals (and therefore averages) update when a review is submitted, even if it goes for moderation (which is wrong), and do not change under almost any other scenario.
Submission of a new review seems to recalculate the overall multiratings, rather than just adjust them for the new review, but it still does not treat non-Approved reviews correctly – i.e. it includes them in the counts and totals.This reply has been marked as private.
KiranModeratorPost count: 5942This reply has been marked as private.This reply has been marked as private.
You must be logged in to reply to this topic.