Ticket #44360: 44360.class-wp-ms-users-list-table.php.2.diff
File 44360.class-wp-ms-users-list-table.php.2.diff, 2.0 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 ); ?>" /> -
class-wp-plugin-install-list-table.php
495 495 496 496 $author = wp_kses( $plugin['author'], $plugins_allowedtags ); 497 497 if ( ! empty( $author ) ) { 498 /* translators: %s: Plugin Authror */ 498 499 $author = ' <cite>' . sprintf( __( 'By %s' ), $author ) . '</cite>'; 499 500 } 500 501