mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-29 11:28:38 +00:00
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:
parent
64a1210ebb
commit
027328b8a6
@ -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…
x
Reference in New Issue
Block a user