Ticket #44360: 44360.class-wp-ms-users-list-table.php.diff
File 44360.class-wp-ms-users-list-table.php.diff, 1.5 KB (added by , 6 years ago) |
---|
-
class-wp-ms-users-list-table.php
139 139 140 140 $current_link_attributes = $role !== 'super' ? ' class="current" aria-current="page"' : ''; 141 141 $role_links = array(); 142 /* translators: %s: Total Number of Users */ 142 143 $role_links['all'] = "<a href='" . network_admin_url( 'users.php' ) . "'$current_link_attributes>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>'; 143 144 $current_link_attributes = $role === 'super' ? ' class="current" aria-current="page"' : ''; 145 /* translators: %s: Total Number of Admins */ 144 146 $role_links['super'] = "<a href='" . network_admin_url( 'users.php?role=super' ) . "'$current_link_attributes>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>'; 145 147 146 148 return $role_links; … … 207 209 if ( is_super_admin( $user->ID ) ) { 208 210 return; 209 211 } 212 /* translators: %s: Username */ 210 213 ?> 211 214 <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label> 212 215 <input type="checkbox" id="blog_<?php echo $user->ID; ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ); ?>" />