Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/includes/class-wp-users-list-table.php

    r18179 r17440  
    1313    var $is_site_users;
    1414
    15     function __construct() {
     15    function WP_Users_List_Table() {
    1616        $screen = get_current_screen();
    1717        $this->is_site_users = 'site-users-network' == $screen->id;
     
    2020            $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
    2121
    22         parent::__construct( array(
     22        parent::WP_List_Table( array(
    2323            'singular' => 'user',
    2424            'plural'   => 'users'
     
    5353        );
    5454
    55         if ( '' !== $args['search'] )
    56             $args['search'] = '*' . $args['search'] . '*';
     55        $args['search'] = '*' . $args['search'] . '*';
    5756
    5857        if ( $this->is_site_users )
     
    114113            /* translators: User role name with count */
    115114            $name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, $avail_roles[$this_role] );
    116             $role_links[$this_role] = "<a href='" . esc_url( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>";
     115            $role_links[$this_role] = "<a href='" . add_query_arg( 'role', $this_role, $url ) . "'$class>$name</a>";
    117116        }
    118117
Note: See TracChangeset for help on using the changeset viewer.