From f67a8e70ed184aca2f2c6c02cda7457e6f985e14 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@17610 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 b2bfad7e4..ed08ebc45 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;