tag_id not tag__id. see #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6012 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e725d7a7d
commit
2d3b05b2a6
@ -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']) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user