is_archive() should be true for custom taxonomies too
git-svn-id: https://develop.svn.wordpress.org/trunk@8788 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c8f3abe13
commit
6a1964e13f
@ -707,7 +707,7 @@ class WP_Query {
|
||||
$this->is_author = true;
|
||||
}
|
||||
|
||||
if ( ($this->is_date || $this->is_author || $this->is_category || $this->is_tag ) )
|
||||
if ( ($this->is_date || $this->is_author || $this->is_category || $this->is_tag || $this->is_tax ) )
|
||||
$this->is_archive = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user