From 0f8493b92b2590dcf2175f0019129d7ffa073c70 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sun, 28 Feb 2010 09:45:52 +0000 Subject: [PATCH] Revert part of r13486, is_tax() is false for tags||categories. See #11904 git-svn-id: https://develop.svn.wordpress.org/trunk@13495 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 88db3e116a..859685ef95 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -244,7 +244,7 @@ function is_tax( $taxonomy = '', $term = '' ) { $tax_array = array_intersect(array_keys($wp_taxonomies), (array) $taxonomy); $term_array = (array) $term; - if ( ! ( $wp_query->is_tax || $wp_query->is_category || $wp_query->is_tag ) ) + if ( !$wp_query->is_tax ) return false; if ( empty( $taxonomy ) )