Use correct var. Props westi. fixes #16145
git-svn-id: https://develop.svn.wordpress.org/trunk@17243 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d3af28cd11
commit
91352574d7
@ -1710,10 +1710,10 @@ class WP_Query {
|
||||
}
|
||||
|
||||
// Tag stuff
|
||||
if ( !empty($qv['tag_id']) ) {
|
||||
if ( !empty($q['tag_id']) ) {
|
||||
$tax_query[] = array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'terms' => $qv['tag_id'],
|
||||
'terms' => $q['tag_id'],
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user