There is not a NOT operator. Props scribu. fixes #17054 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-04-06 16:09:13 +00:00
parent aaab3bbdbe
commit d4ad475e82
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 ( ( '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;