WordPress.org

Make WordPress Core

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 FesoVik, 13 months ago)

diff src/wp-admin/includes/class-wp-ms-users-list-table.php

  • class-wp-ms-users-list-table.php

     
    139139
    140140                $current_link_attributes = $role !== 'super' ? ' class="current" aria-current="page"' : '';
    141141                $role_links              = array();
     142                /* translators: %s: Total Number of Users */
    142143                $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>';
    143144                $current_link_attributes = $role === 'super' ? ' class="current" aria-current="page"' : '';
     145                /* translators: %s: Total Number of Admins */
    144146                $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>';
    145147
    146148                return $role_links;
     
    207209                if ( is_super_admin( $user->ID ) ) {
    208210                        return;
    209211                }
     212                /* translators: %s: Username */
    210213                ?>
    211214                <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
    212215                <input type="checkbox" id="blog_<?php echo $user->ID; ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ); ?>" />