Make WordPress Core

Changeset 17606


Ignore:
Timestamp:
04/05/2011 06:48:53 PM (14 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r17552 r17606  
    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.