Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5648 closed defect (bug) (fixed)

Plugin rating showing 4 while all reviews are 5 stars.

Reported by: richardevcom's profile richardevcom Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:


Hi there.
My plugin review page shows 4 stars publicly while it has only 5 star reviews. Not sure if this is a bug or some algorithm in place.

Change History (2)

#1 @dd32
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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.


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

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

#2 @richardevcom
3 years ago

Thank you @dd32

Note: See TracTickets for help on using tickets.