- Timestamp:
- 07/25/2017 12:23:44 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r41027 r41138 99 99 'number' => $users_per_page, 100 100 'offset' => ( $paged-1 ) * $users_per_page, 101 'include' => wp_get_users_with_no_role( ),101 'include' => wp_get_users_with_no_role( $this->site_id ), 102 102 'search' => $usersearch, 103 103 'fields' => 'all_with_meta' … … 178 178 $url = 'site-users.php?id=' . $this->site_id; 179 179 switch_to_blog( $this->site_id ); 180 $users_of_blog = count_users( );180 $users_of_blog = count_users( 'time', $this->site_id ); 181 181 restore_current_blog(); 182 182 } else { … … 370 370 371 371 foreach ( $this->items as $userid => $user_object ) { 372 if ( is_multisite() && empty( $user_object->allcaps ) )373 continue;374 375 372 echo "\n\t" . $this->single_row( $user_object, '', '', isset( $post_counts ) ? $post_counts[ $userid ] : 0 ); 376 373 }
Note: See TracChangeset
for help on using the changeset viewer.