WordPress.org

Make WordPress Core

Ticket #18728: number-format.diff

File number-format.diff, 725 bytes (added by wonderboymusic, 4 years ago)
  • wp-admin/includes/class-wp-users-list-table.php

     
    112112 
    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                } 
    118118