Changeset 7338 for trunk/bp-core/bp-core-classes.php
- Timestamp:
- 08/05/2013 02:42:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-classes.php
r7334 r7338 331 331 // 'exclude' - User ids to exclude from the results 332 332 if ( false !== $exclude ) { 333 $exclude = wp_parse_id_list( $exclude ); 334 $exclude_ids = $wpdb->escape( implode( ',', (array) $exclude ) ); 333 $exclude_ids = implode( ',', wp_parse_id_list( $exclude ) ); 335 334 $sql['where'][] = "u.{$this->uid_name} NOT IN ({$exclude_ids})"; 336 335 }
Note: See TracChangeset
for help on using the changeset viewer.