Use correct var. Props westi. fixes #16145
git-svn-id: http://svn.automattic.com/wordpress/trunk@17243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
caa9770b12
commit
6baed7c3ea
|
@ -1710,10 +1710,10 @@ class WP_Query {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tag stuff
|
// Tag stuff
|
||||||
if ( !empty($qv['tag_id']) ) {
|
if ( !empty($q['tag_id']) ) {
|
||||||
$tax_query[] = array(
|
$tax_query[] = array(
|
||||||
'taxonomy' => 'post_tag',
|
'taxonomy' => 'post_tag',
|
||||||
'terms' => $qv['tag_id'],
|
'terms' => $q['tag_id'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue