[wp-meta] [Making WordPress.org] #2468: plugin rating: web vs backend discrepancies

Making WordPress.org noreply at wordpress.org
Mon Feb 13 23:20:40 UTC 2017

#2468: plugin rating: web vs backend discrepancies
 Reporter:  agm65                             |       Owner:
     Type:  defect                            |      Status:  new
 Priority:  normal                            |   Milestone:  Plugin
Component:  Plugin Directory                  |  Directory v3.0
 Keywords:  has-screenshots has-patch commit  |  Resolution:
Changes (by SergeyBiryukov):

 * keywords:  has-screenshots ui-feedback ux-feedback => has-screenshots
     has-patch commit
 * milestone:   => Plugin Directory v3.0


 WordPress trunk is currently using the new plugin directory API to test it
 ([https://wordpress.slack.com/archives/core/p1487020278008579 per @sam on
 Slack]), and I've traced the issue to the API endpoints there.

 It's not an issue in the directory itself, because the Ratings widget uses
 a hardcoded [source:sites/trunk/wordpress.org/public_html/wp-
 ratings.php?rev=4622&marks=50#L49 range( 5, 1 )] in the `foreach()` loop,
 instead of using the actual order as returned by the API.

 [attachment:meta-2468.patch] contains a patch and a unit test assertion.

Ticket URL: <https://meta.trac.wordpress.org/ticket/2468#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list