[wp-trac] [WordPress Trac] #19593: Incorrect plugin ratings on decimal comma locales

WordPress Trac wp-trac at lists.automattic.com
Tue May 1 22:05:22 UTC 2012


#19593: Incorrect plugin ratings on decimal comma locales
------------------------------+------------------
 Reporter:  SergeyBiryukov    |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.4
Component:  Administration    |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 $theme->rating (which has moved to the customizer, so this patch no longer
 applies cleanly) is a number 1-100. It can be a float (the API simply
 takes the 1-5 rating and multiplies it by 20 to give a percentage), but
 the customizer intval()'s it. So we're good there.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19593#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list