Changeset 12694 for trunk/src/bp-core/classes/class-bp-user-query.php
- Timestamp:
- 07/29/2020 06:44:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-user-query.php
r12602 r12694 574 574 ), $this ) ); 575 575 576 // We calculate total_users using a standalone query, except 577 // when a whitelist of user_ids is passed to the constructor. 578 // This clause covers the latter situation, and ensures that 579 // pagination works when querying by $user_ids. 576 /* 577 * We calculate total_users using a standalone query, except 578 * when a list of specific user_ids is passed to the constructor. 579 * This clause covers the latter situation, and ensures that 580 * pagination works when querying by $user_ids. 581 */ 580 582 if ( empty( $this->total_users ) ) { 581 583 $this->total_users = count( $wp_user_query->results );
Note: See TracChangeset
for help on using the changeset viewer.