Changeset 3369 for trunk/bp-core/bp-core-classes.php
- Timestamp:
- 11/07/2010 12:20:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-classes.php
r3368 r3369 238 238 global $wpdb, $bp; 239 239 240 $pag_sql = ''; 240 241 if ( $limit && $page ) 241 242 $pag_sql = $wpdb->prepare( " LIMIT %d, %d", intval( ( $page - 1 ) * $limit), intval( $limit ) ); … … 267 268 * We can't add these to the main query above since only users who have this information will be returned (since the much of the data is in usermeta and won't support any type of directional join) 268 269 */ 270 $user_ids = array(); 269 271 foreach ( (array)$paged_users as $user ) 270 272 $user_ids[] = $user->id;
Note: See TracChangeset
for help on using the changeset viewer.