[wp-trac] [WordPress Trac] #18728: All Roles need number_format_i18n in WP_Users_List_Table
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 21 05:08:58 UTC 2011
#18728: All Roles need number_format_i18n in WP_Users_List_Table
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------
added 75,000 users to a new role, there as no number formatting
This fixes it:
{{{
$name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name,
number_format_i18n( $avail_roles[$this_role] ) )
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18728>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list