WordPress.org

Make WordPress Core

Changeset 18735


Ignore:
Timestamp:
09/21/11 05:35:57 (3 years ago)
Author:
nacin
Message:

number_format_i18n for role user counts. props sirzooro, fixes #18305.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-users-list-table.php

    r18597 r18735  
    113113            $name = translate_user_role( $name ); 
    114114            /* translators: User role name with count */ 
    115             $name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, $avail_roles[$this_role] ); 
     115            $name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, number_format_i18n( $avail_roles[$this_role] ) ); 
    116116            $role_links[$this_role] = "<a href='" . esc_url( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>"; 
    117117        } 
Note: See TracChangeset for help on using the changeset viewer.