Make WordPress Core

Opened 2 months ago

Closed 5 weeks ago

#64676 closed enhancement (worksforme)

Ratings order

Reported by: alvarogois's profile alvarogois Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: administration Cc:

Description

The order of plugin ratings is reversed between the repository and the plugin modal on the site's plugins page, which causes confusion for those visiting both. The order should be the same, preferably descending, from 5 stars to 1 star.

Attachments (1)

repository_vs_plugin_modal_ratings.jpg (625.5 KB) - added by alvarogois 2 months ago.
Repository vs plugin modal ratings order

Download all attachments as: .zip

Change History (6)

@alvarogois
2 months ago

Repository vs plugin modal ratings order

#1 @sabernhardt
5 weeks ago

  • Component changed from General to Plugins
  • Focuses administration added
  • Version 6.9.1 deleted

#2 @huzaifaalmesbah
5 weeks ago

  • Keywords close added

Reproduction Report

Environment

  • WordPress: 7.0-beta5-61991-src
  • PHP: 8.3.30
  • Server: nginx/1.29.6
  • Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
  • Browser: Chrome 146.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty-Four 1.4
  • MU Plugins: None activated
  • Plugins:
    • Jetpack CRM 6.7.3
    • Query Monitor 3.20.3
    • Test Reports 1.2.1

Steps taken

  1. Opened the plugin page on WordPress.org and recorded the ratings breakdown order.
  2. Navigated to wp-admin → Plugins → Add New.
  3. Searched for the same plugin.
  4. Clicked “More Details” to open the plugin modal.
  5. Compared the ratings breakdown order between the repository page and the modal.
  6. Repeated the test with multiple plugins that have mixed rating distributions.
  7. Navigated to Plugins → Installed Plugins.
  8. Clicked “View details”
  9. Compared the ratings breakdown order in this modal with the repository.
  10. ❌ Bug is not occurring

Expected behavior

  • Ratings breakdown should be displayed consistently across all interfaces.
  • Order should be descending (5★ → 1★).

Actual behavior

  • Ratings are consistently displayed in descending order (5★ → 1★) across all tested interfaces.
  • No reversed or inconsistent ordering observed.

Additional Notes

  1. Tested using both entry points to the plugin modal (Add New and Installed Plugins).
  2. Tested multiple plugins with varied rating distributions.
  3. Switched site language between English (en_US) and Portuguese (pt_PT) and repeated tests.
  4. Tested across WordPress versions 6.9.1, 6.9.4, and 7.0-beta5.

Screenshots/Screencast with results

English (en_US) Portuguese (pt_PT)
https://i.ibb.co/qMH9Qzxc/Huzaifa-20260320102843.png https://i.ibb.co/Y437sGKj/Huzaifa-20260320101157.png

#3 @sabernhardt
5 weeks ago

  • Keywords reporter-feedback added

@alvarogois Do you still experience the ascending order somewhere in the administration area?

I also find all of the ratings in descending order within modals: on the (installed) Plugins page, Add Plugins page, and the Updates page.

#4 @alvarogois
5 weeks ago

@sabernhardt It seems to be OK now (all ratings in descending order). I've tested in more than one dashboard and one plugin in the repository. Thanks.

#5 @sabernhardt
5 weeks ago

  • Keywords close reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Thanks for checking it again! I'll close the ticket then.

Maybe the API response was different 4 weeks ago.

Note: See TracTickets for help on using tickets.