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

git-svn-id: https://develop.svn.wordpress.org/trunk@16258 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-11-09 12:27:03 +00:00
parent 3f01db9dd9
commit 4754dbd2c6
1 changed files with 1 additions and 0 deletions

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