Changeset 17652
- Timestamp:
- 04/18/2011 08:38:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r17526 r17652 695 695 $terms = implode( ',', $terms ); 696 696 697 $where[] = " $primary_table.$primary_id_column IN(698 SELECT object_id697 $where[] = "( 698 SELECT COUNT(1) 699 699 FROM $wpdb->term_relationships 700 700 WHERE term_taxonomy_id IN ($terms) 701 GROUP BY object_id HAVING COUNT(object_id) = $num_terms702 ) ";701 AND object_id = $primary_table.$primary_id_column 702 ) = $num_terms"; 703 703 } 704 704
Note: See TracChangeset
for help on using the changeset viewer.