Changes from trunk/wp-admin/includes/class-wp-users-list-table.php at r18179 to branches/3.1/wp-admin/includes/class-wp-users-list-table.php at r17440
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-admin/includes/class-wp-users-list-table.php
r18179 r17440 13 13 var $is_site_users; 14 14 15 function __construct() {15 function WP_Users_List_Table() { 16 16 $screen = get_current_screen(); 17 17 $this->is_site_users = 'site-users-network' == $screen->id; … … 20 20 $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; 21 21 22 parent:: __construct( array(22 parent::WP_List_Table( array( 23 23 'singular' => 'user', 24 24 'plural' => 'users' … … 53 53 ); 54 54 55 if ( '' !== $args['search'] ) 56 $args['search'] = '*' . $args['search'] . '*'; 55 $args['search'] = '*' . $args['search'] . '*'; 57 56 58 57 if ( $this->is_site_users ) … … 114 113 /* translators: User role name with count */ 115 114 $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>"; 117 116 } 118 117
Note: See TracChangeset
for help on using the changeset viewer.