From 027328b8a6d03f2cb338a6a24bb37ece12fed235 Mon Sep 17 00:00:00 2001 From: azaozz Date: Mon, 1 Sep 2008 04:10:57 +0000 Subject: [PATCH] is_archive() should be true for custom taxonomies too git-svn-id: http://svn.automattic.com/wordpress/trunk@8788 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index f97f9254c6..7fa51bb740 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -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; }