Changeset 5920
- Timestamp:
- 03/15/2012 10:57:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r5916 r5920 138 138 // Exclude specified items 139 139 if ( !empty( $exclude ) ) { 140 $exclude = wp_parse_id_list( $exclude);140 $exclude = implode( ',', wp_parse_id_list( $exclude ) ); 141 141 $where_conditions['exclude'] = "a.id NOT IN ({$exclude})"; 142 142 } … … 144 144 // The specific ids to which you want to limit the query 145 145 if ( !empty( $in ) ) { 146 $in = wp_parse_id_list( $in);146 $in = implode( ',', wp_parse_id_list( $in ) ); 147 147 $where_conditions['in'] = "a.id IN ({$in})"; 148 148 }
Note: See TracChangeset
for help on using the changeset viewer.