Fix query variable naming errors.

git-svn-id: https://develop.svn.wordpress.org/trunk@6435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2007-12-20 20:59:53 +00:00
parent d476730696
commit 3301f80416
1 changed files with 2 additions and 2 deletions

View File

@ -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']);