Changeset 11024 for trunk/src/bp-core/classes/class-bp-user-query.php
- Timestamp:
- 08/22/2016 09:35:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-user-query.php
r10913 r11024 592 592 foreach ( $this->user_ids as $key => $uid ) { 593 593 if ( isset( $r[ $uid ] ) ) { 594 $r[ $uid ]->ID = (int) $uid; 595 $r[ $uid ]->user_status = (int) $r[ $uid ]->user_status; 596 594 597 $this->results[ $uid ] = $r[ $uid ]; 595 598 596 599 // The BP template functions expect an 'id' 597 600 // (as opposed to 'ID') property. 598 $this->results[ $uid ]->id = $uid;601 $this->results[ $uid ]->id = (int) $uid; 599 602 600 603 // Remove user ID from original user_ids property.
Note: See TracChangeset
for help on using the changeset viewer.