From 6a1964e13f5940fdf56deae659d8b8d2e644309d Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 1 Sep 2008 04:10:57 +0000 Subject: [PATCH] is_archive() should be true for custom taxonomies too git-svn-id: https://develop.svn.wordpress.org/trunk@8788 602fd350-edb4-49c9-b593-d223f7449a82 --- 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; }