Make WordPress Core

Changeset 17611


Ignore:
Timestamp:
04/06/2011 04:09:13 PM (14 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-includes/query.php

    r17607 r17611  
    15111511
    15121512            foreach ( $this->tax_query->queries as $tax_query ) {
    1513                 if ( ( 'NOT' != $tax_query['operator'] ) && ( 'NOT IN' != $tax_query['operator'] ) ) {
     1513                if ( 'NOT IN' != $tax_query['operator'] ) {
    15141514                    switch ( $tax_query['taxonomy'] ) {
    15151515                        case 'category':
Note: See TracChangeset for help on using the changeset viewer.