From 1e9c26c3ab3a27be58d2806c2f6742314a626171 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 6 Apr 2011 16:08:23 +0000 Subject: [PATCH] There is not a NOT operator. Props scribu. fixes #17054 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@17610 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index b2bfad7e41..ed08ebc450 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -1510,7 +1510,7 @@ class WP_Query { $this->parse_tax_query( $qv ); foreach ( $this->tax_query->queries as $tax_query ) { - if ( ( 'NOT' != $tax_query['operator'] ) && ( 'NOT IN' != $tax_query['operator'] ) ) { + if ( 'NOT IN' != $tax_query['operator'] ) { switch ( $tax_query['taxonomy'] ) { case 'category': $this->is_category = true;