Changeset 7660
- Timestamp:
- 12/09/2013 02:34:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-classes.php
r7638 r7660 461 461 ), $this ) ); 462 462 463 // We calculate total_users using a standalone query, except 464 // when a whitelist of user_ids is passed to the constructor. 465 // This clause covers the latter situation, and ensures that 466 // pagination works when querying by $user_ids. 467 if ( empty( $this->total_users ) ) { 468 $this->total_users = count( $wp_user_query->results ); 469 } 470 463 471 // Reindex for easier matching 464 472 $r = array();
Note: See TracChangeset
for help on using the changeset viewer.