]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/query.php
Wordpress 3.1.2
[autoinstalls/wordpress.git] / wp-includes / query.php
index 87422db416de2a063930ceaae1aa5de3be040651..ed08ebc450ec8be5bbebd8aa36aefad0487f8bfa 100644 (file)
@@ -1510,7 +1510,7 @@ class WP_Query {
                        $this->parse_tax_query( $qv );
 
                        foreach ( $this->tax_query->queries as $tax_query ) {
-                               if ( 'IN' == $tax_query['operator'] ) {
+                               if ( 'NOT IN' != $tax_query['operator'] ) {
                                        switch ( $tax_query['taxonomy'] ) {
                                                case 'category':
                                                        $this->is_category = true;