[wp-meta] [Making WordPress.org] #2606: Inaccurate plugin rating counts
Making WordPress.org
noreply at wordpress.org
Thu Apr 5 04:11:34 UTC 2018
#2606: Inaccurate plugin rating counts
------------------------------+------------------------------------
Reporter: svenl77 | Owner: Otto
Type: defect | Status: assigned
Priority: low | Milestone: Plugin Directory v3.0
Component: Plugin Directory | Resolution:
Keywords: needs-patch |
------------------------------+------------------------------------
Changes (by Dion Hulse):
* priority: normal => low
Comment:
Just noting that it looks like some plugins post_meta got out of sync, due
to the cron only picking up recently added reviews. Removing a review
doesn't trigger any syncing and that causes it to ultimately be out of
date.
When a spam review is removed, the next review added after that will
trigger the resync. Because the action of adding a new review clears out
the bad data, this makes this even more low-priority in my eyes.
Fixing this by using the underlying `WPORG_Ratings` class rather than post
meta would probably make sense.
As a temporary work around I just ran a script to resync all the rating
counts (commit following)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2606#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list