Changeset 16900 for trunk/wp-admin/includes/class-wp-users-list-table.php
- Timestamp:
- 12/13/2010 09:21:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-users-list-table.php
r16794 r16900 8 8 */ 9 9 class WP_Users_List_Table extends WP_List_Table { 10 10 11 11 var $site_id; 12 12 var $is_site_users; 13 13 14 14 function WP_Users_List_Table() { 15 15 $screen = get_current_screen(); … … 51 51 'search' => $usersearch 52 52 ); 53 53 54 54 if ( $this->is_site_users ) 55 55 $args['blog_id'] = $this->site_id; … … 80 80 81 81 if ( $this->is_site_users ) { 82 $url = 'site-users.php?id=' . $this->site_id; 82 $url = 'site-users.php?id=' . $this->site_id; 83 83 switch_to_blog( $this->site_id ); 84 84 $users_of_blog = count_users(); … … 161 161 if ( $this->is_site_users ) 162 162 unset( $c['posts'] ); 163 163 164 164 return $c; 165 165 } … … 172 172 'posts' => 'post_count', 173 173 ); 174 174 175 175 if ( $this->is_site_users ) 176 176 unset( $c['posts'] ); … … 214 214 $user_object = sanitize_user_object( $user_object, 'display' ); 215 215 $email = $user_object->user_email; 216 216 217 217 if ( $this->is_site_users ) 218 218 $url = "site-users.php?id={$this->site_id}&";
Note: See TracChangeset
for help on using the changeset viewer.