is_archive() should be true for custom taxonomies too

git-svn-id: http://svn.automattic.com/wordpress/trunk@8788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-09-01 04:10:57 +00:00
parent 64a1210ebb
commit 027328b8a6
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;
}