number_format_i18n for role user counts. props sirzooro, fixes #18305.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b225e5b626
commit
0fd3915e9f
|
@ -112,7 +112,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||
|
||||
$name = translate_user_role( $name );
|
||||
/* translators: User role name with count */
|
||||
$name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, $avail_roles[$this_role] );
|
||||
$name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, number_format_i18n( $avail_roles[$this_role] ) );
|
||||
$role_links[$this_role] = "<a href='" . esc_url( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue