Changeset 9662 for trunk/src/bp-core/classes/class-bp-user-query.php
- Timestamp:
- 03/30/2015 06:41:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-user-query.php
r9661 r9662 461 461 if ( preg_match( '/' . $wpdb->term_relationships . '\.term_taxonomy_id IN \([0-9, ]+\)/', $member_type_sql_clauses['where'], $matches ) ) { 462 462 $sql['where']['member_type'] = "u.{$this->uid_name} IN ( SELECT object_id FROM $wpdb->term_relationships WHERE {$matches[0]} )"; 463 } elseif ( false !== strpos( $member_type_sql_clauses['where'], '0 = 1' ) ) { 464 $sql['where']['member_type'] = $this->no_results['where']; 463 465 } 464 466 }
Note: See TracChangeset
for help on using the changeset viewer.