Changeset 5921
- Timestamp:
- 03/15/2012 10:58:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-activity/bp-activity-classes.php
r5917 r5921 135 135 // Exclude specified items 136 136 if ( !empty( $exclude ) ) { 137 $exclude = wp_parse_id_list( $exclude);137 $exclude = implode( ',', wp_parse_id_list( $exclude ) ); 138 138 $where_conditions['exclude'] = "a.id NOT IN ({$exclude})"; 139 139 } … … 141 141 // The specific ids to which you want to limit the query 142 142 if ( !empty( $in ) ) { 143 $in = wp_parse_id_list( $in);143 $in = implode( ',', wp_parse_id_list( $in ) ); 144 144 $where_conditions['in'] = "a.id IN ({$in})"; 145 145 }
Note: See TracChangeset
for help on using the changeset viewer.