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:
Andrew Ozz 2008-09-01 04:10:57 +00:00
parent 0c8f3abe13
commit 6a1964e13f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}