Remove extra underscores. fixes #5788 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/branches/2.3@6745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70a17cdf40
commit
08d8849c1b
|
@ -558,7 +558,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']);
|
||||
|
@ -585,7 +585,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']);
|
||||
|
|
Loading…
Reference in New Issue