Set 'operator' field. Fixes #15350. See #12891

git-svn-id: http://svn.automattic.com/wordpress/trunk@16258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-11-09 12:27:03 +00:00
parent b14547df9b
commit 3a7d16a308

View File

@ -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 ) {