From 4754dbd2c6ce922e8d1ee1c8f6517d19172a8350 Mon Sep 17 00:00:00 2001 From: scribu Date: Tue, 9 Nov 2010 12:27:03 +0000 Subject: [PATCH] Set 'operator' field. Fixes #15350. See #12891 git-svn-id: https://develop.svn.wordpress.org/trunk@16258 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/query.php b/wp-includes/query.php index 3854504d3a..7b9352380b 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -1470,6 +1470,7 @@ class WP_Query extends WP_Object_Query { 'taxonomy' => $q['taxonomy'], 'terms' => array( $q['term'] ), 'field' => 'slug', + 'operator' => 'IN', ); } else { foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t ) {