Fix query variable naming errors.

git-svn-id: http://svn.automattic.com/wordpress/trunk@6435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2007-12-20 20:59:53 +00:00
parent 75dc7786a9
commit 21d9604409
1 changed files with 2 additions and 2 deletions

View File

@ -560,7 +560,7 @@ class WP_Query {
$this->is_category = true; $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(); $qv['category__not_in'] = array();
} else { } else {
$qv['category__not_in'] = array_map('intval', $qv['category__not_in']); $qv['category__not_in'] = array_map('intval', $qv['category__not_in']);
@ -587,7 +587,7 @@ class WP_Query {
$this->is_tag = true; $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(); $qv['tag__not_in'] = array();
} else { } else {
$qv['tag__not_in'] = array_map('intval', $qv['tag__not_in']); $qv['tag__not_in'] = array_map('intval', $qv['tag__not_in']);