Ticket #16706: 16706-tigertech.diff
File 16706-tigertech.diff, 559 bytes (added by , 14 years ago) |
---|
-
wp-includes/taxonomy.php
692 692 693 693 $terms = implode( ',', $terms ); 694 694 695 $where[] = " $primary_table.$primary_id_column IN(696 SELECT object_id695 $where[] = "( 696 SELECT COUNT(1) 697 697 FROM $wpdb->term_relationships 698 698 WHERE term_taxonomy_id IN ($terms) 699 GROUP BY object_id HAVING COUNT(object_id) = $num_terms700 ) ";699 AND object_id = $primary_table.$primary_id_column 700 ) = $num_terms"; 701 701 } 702 702 703 703 $i++;