Changeset 8832 for trunk/src/bp-groups/bp-groups-activity.php
- Timestamp:
- 08/13/2014 10:48:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-activity.php
r8428 r8832 18 18 */ 19 19 function groups_register_activity_actions() { 20 global $bp;20 $bp = buddypress(); 21 21 22 22 if ( ! bp_is_active( 'activity' ) ) { … … 164 164 165 165 if ( ! empty( $uncached_ids ) ) { 166 global $wpdb, $bp; 166 global $wpdb; 167 $bp = buddypress(); 167 168 $uncached_ids_sql = implode( ',', wp_parse_id_list( $uncached_ids ) ); 168 169 $groups = $wpdb->get_results( "SELECT * FROM {$bp->groups->table_name} WHERE id IN ({$uncached_ids_sql})" );
Note: See TracChangeset
for help on using the changeset viewer.