Rating and review count only approved comments
-
Hi hi,
I was testing the plugin and noticed that when the plugin is activated it shows a wrong Review count. This is caused by the fact that it uses get_comments() function without passing arguments and it looks like it calculates the rating and review count for all approved and unapproved.I believe that the plugin must always use only approved comments otherwise we show wrong data.
I patched it locally like this:$args = array('status'=>'approve'); get_comments($args);
This works nicely and shows correct information.
I hope that you can release a new version with this patch.
Best regards,
Ali Nebi
- The topic ‘Rating and review count only approved comments’ is closed to new replies.