Make WordPress Core

Changeset 17607


Ignore:
Timestamp:
04/05/2011 06:50:28 PM (12 years ago)
Author:
ryan
Message:

Set is_* flags for AND taxonomy queries. fixes #17054 for 3.1

File:
1 edited

Legend:

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

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