diff --git bp-core/bp-core-classes.php bp-core/bp-core-classes.php
index beafe77..8bcfe72 100644
|
|
class BP_User_Query { |
170 | 170 | // If the user_ids param is present, we skip the query |
171 | 171 | if ( false !== $this->query_vars['user_ids'] ) { |
172 | 172 | $this->user_ids = wp_parse_id_list( $this->query_vars['user_ids'] ); |
| 173 | |
| 174 | // Manually set the total_users count for |
| 175 | // pagination |
| 176 | $this->total_users = count( $this->user_ids ); |
173 | 177 | } else { |
174 | 178 | $this->prepare_user_ids_query(); |
175 | 179 | $this->do_user_ids_query(); |