- Timestamp:
- 10/03/2011 04:30:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-ms-users-list-table.php
r18562 r18871 33 33 ); 34 34 35 $args['search'] = ltrim($args['search'], '*'); 35 if ( wp_is_large_network( 'users' ) ) 36 $args['search'] = ltrim( $args['search'], '*' ); 36 37 37 38 if ( $role == 'super' ) { … … 42 43 // If the network is large and a search is not being performed, show only the latest users with no paging in order 43 44 // to avoid expensive count queries. 44 if ( !$usersearch && ( get_blog_count() >= 10000) ) {45 if ( !$usersearch && wp_is_large_network( 'users' ) ) { 45 46 if ( !isset($_REQUEST['orderby']) ) 46 47 $_GET['orderby'] = $_REQUEST['orderby'] = 'id';
Note: See TracChangeset
for help on using the changeset viewer.