Make WordPress Core

Ticket #17054: 17054.diff

File 17054.diff, 536 bytes (added by ryan, 14 years ago)
  • wp-includes/query.php

     
    15101510                        $this->parse_tax_query( $qv );
    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':
    15161516                                                        $this->is_category = true;