Make WordPress Core

Ticket #31013: 31013.patch

File 31013.patch, 1.6 KB (added by pavelevap, 10 years ago)
  • src/wp-admin/includes/class-wp-users-list-table.php

     
    120120         * @access public
    121121         */
    122122        public function no_items() {
    123                 _e( 'No matching users were found.' );
     123                _e( 'No users found.' );
    124124        }
    125125
    126126        /**
  • src/wp-admin/includes/deprecated.php

     
    552552                if ( $this->results )
    553553                        $this->total_users_for_query = $wpdb->get_var("SELECT COUNT(DISTINCT($wpdb->users.ID))" . $this->query_from . $this->query_where); // no limit
    554554                else
    555                         $this->search_errors = new WP_Error('no_matching_users_found', __('No matching users were found!'));
     555                        $this->search_errors = new WP_Error( 'no_matching_users_found', __( 'No users found.' ) );
    556556        }
    557557
    558558        /**
  • src/wp-admin/users.php

     
    327327
    328328<div class="wrap">
    329329<h2><?php _e('Remove Users from Site'); ?></h2>
    330 <p><?php _e('You have specified these users for removal:'); ?></p>
     330<p><?php echo _n( 'You have specified this user for removal:', 'You have specified these users for removal:', count( $userids ) ); ?></p>
    331331<ul>
    332332<?php
    333333        $go_remove = false;