From 6baed7c3ea75c20d83aaa021fc040e72c927e1c9 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 8 Jan 2011 17:21:49 +0000 Subject: [PATCH] Use correct var. Props westi. fixes #16145 git-svn-id: http://svn.automattic.com/wordpress/trunk@17243 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index fbf6d3556..c250e0560 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -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'], ); }