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:
ryan 2011-01-08 17:21:49 +00:00
parent caa9770b12
commit 6baed7c3ea
1 changed files with 2 additions and 2 deletions

View File

@ -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'],
);
}