Skip to content

Commit

Permalink
There is not a NOT operator. Props scribu. fixes #17054 for 3.1
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
ryan committed Apr 6, 2011
1 parent aaab3bb commit d4ad475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/query.php
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ function parse_query( $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;
Expand Down

0 comments on commit d4ad475

Please sign in to comment.