Set is_* flags for AND taxonomy queries. fixes #17054 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@17606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-04-05 18:48:53 +00:00
parent d470b22d59
commit 81d1fdcb3d
1 changed files with 1 additions and 1 deletions

View File

@ -1510,7 +1510,7 @@ class WP_Query {
$this->parse_tax_query( $qv );
foreach ( $this->tax_query->queries as $tax_query ) {
if ( 'IN' == $tax_query['operator'] ) {
if ( ( 'NOT' != $tax_query['operator'] ) && ( 'NOT IN' != $tax_query['operator'] ) ) {
switch ( $tax_query['taxonomy'] ) {
case 'category':
$this->is_category = true;