From 2d3b05b2a60b9bbefa194a8d5bd4cc2250a1c7b7 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 3 Sep 2007 03:26:57 +0000 Subject: [PATCH] tag_id not tag__id. see #4895 git-svn-id: https://develop.svn.wordpress.org/trunk@6012 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 1b0d6a26f8..5a2e7c3028 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -584,8 +584,8 @@ class WP_Query { if ( '' != $qv['tag'] ) $this->is_tag = true; - $qv['tag__id'] = (int) $qv['tag__id']; - if ( !empty($qv['tag__id']) ) + $qv['tag_id'] = (int) $qv['tag_id']; + if ( !empty($qv['tag_id']) ) $this->is_tag = true; if ( !is_array($qv['tag__in']) || empty($qv['tag__in']) ) {