[wp-trac] [WordPress Trac] #8325: Don't use number formatted number in __ngettext in Dashboard Right Now

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 24 02:39:29 GMT 2008


#8325: Don't use number formatted number in __ngettext in Dashboard Right Now
----------------------------+-----------------------------------------------
 Reporter:  Speedboxer      |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.7      
Component:  Administration  |     Version:           
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 In the Right Now dashboard widget, for the Posts section, __ngettext uses
 a number that has been formatted with number_format_i18n. So for any
 number in the thousands (and uses a comma as a thousands separator)
 __ngettext will return the singular value. We should use the original,
 unformatted number (the other sections already do).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8325>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list