[wp-trac] [WordPress Trac] #39769: plugin rating: web vs backend discrepancies

WordPress Trac noreply at wordpress.org
Thu Feb 2 16:56:10 UTC 2017


#39769: plugin rating: web vs backend discrepancies
----------------------------------------+--------------------------------
 Reporter:  agm65                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.8
Component:  Plugins                     |     Version:  4.7.2
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  ui, accessibility
----------------------------------------+--------------------------------

Comment (by agm65):

 API rating response from http://api.wordpress.org/plugins/info/1.0/ is

 {{{
 s:6:"rating";d:68;s:7:"ratings";a:5:{i:1;i:11;i:2;i:3;i:3;i:0;i:4;i:3;i:5;i:17;}
 }}}

 So maybe can be fixed ordering rating in API code since output rendering
 should keep incoming order
 {{{
 foreach ( $api->ratings as $key => $ratecount ) {
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39769#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list