From 51f3efd5c441ccbd69492efc42abd43a6add975a Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 10 Aug 2016 10:36:51 +0100 Subject: [PATCH] Don't need both cases --- includes/wc-template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index db506354039..a11f24c6c5a 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -620,7 +620,7 @@ if ( ! function_exists( 'woocommerce_taxonomy_archive_description' ) ) { * @subpackage Archives */ function woocommerce_taxonomy_archive_description() { - if ( ( is_tax( array( 'product_cat', 'product_tag' ) ) || is_product_taxonomy() ) && 0 === absint( get_query_var( 'paged' ) ) ) { + if ( is_product_taxonomy() && 0 === absint( get_query_var( 'paged' ) ) ) { $description = wc_format_content( term_description() ); if ( $description ) { echo '
' . $description . '
';