From 91352574d725e5fd3edcac216b2f94a32b955c77 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 8 Jan 2011 17:21:49 +0000 Subject: [PATCH] Use correct var. Props westi. fixes #16145 git-svn-id: https://develop.svn.wordpress.org/trunk@17243 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 fbf6d3556c..c250e05603 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'], ); }