[wp-meta] [Making WordPress.org] #5648: Plugin rating showing 4 while all reviews are 5 stars.

Making WordPress.org noreply at wordpress.org
Thu Mar 4 01:07:47 UTC 2021


#5648: Plugin rating showing 4 while all reviews are 5 stars.
------------------------------+---------------------
 Reporter:  richardevcom      |       Owner:  (none)
     Type:  defect            |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:  fixed
 Keywords:                    |
------------------------------+---------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This has been caused by the most recent 1-star review being moved from
 being a review to being a support thread, and only some of the rating
 functions correctly excluding non-review ratings from the displayed
 numbers.

 {{{
 r17040dotorg

 Ratings: Apply [15667] to all of the review methods, this ensures that the
 ratings counts only include actual reviews.

 r17042dotorg
 Ratings: Simplify by calculating some values in PHP based on the common
 cached self::get_rating_counts() instead of querying/caching it
 separately.
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5648#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list