From 3301f80416fde1cc43ce8af379c10229f130a7c3 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 20 Dec 2007 20:59:53 +0000 Subject: [PATCH] Fix query variable naming errors. git-svn-id: https://develop.svn.wordpress.org/trunk@6435 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 fae510ea75..4edbfa05a1 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -560,7 +560,7 @@ class WP_Query { $this->is_category = true; } - if ( !is_array($qv['category___not_in']) || empty($qv['category__not_in']) ) { + if ( !is_array($qv['category__not_in']) || empty($qv['category__not_in']) ) { $qv['category__not_in'] = array(); } else { $qv['category__not_in'] = array_map('intval', $qv['category__not_in']); @@ -587,7 +587,7 @@ class WP_Query { $this->is_tag = true; } - if ( !is_array($qv['tag___not_in']) || empty($qv['tag__not_in']) ) { + if ( !is_array($qv['tag__not_in']) || empty($qv['tag__not_in']) ) { $qv['tag__not_in'] = array(); } else { $qv['tag__not_in'] = array_map('intval', $qv['tag__not_in']);