diff --git a/woocommerce-template.php b/woocommerce-template.php index df6d46afc8d..c719ac984f2 100644 --- a/woocommerce-template.php +++ b/woocommerce-template.php @@ -291,8 +291,9 @@ if ( ! function_exists( 'woocommerce_taxonomy_archive_description' ) ) { * @return void */ function woocommerce_taxonomy_archive_description() { - if ( is_tax( array( 'product_cat', 'product_tag' ) ) && get_query_var( 'paged' ) == 0 ) - echo '
' . wpautop( wptexturize( term_description() ) ) . '
'; + $term_description = term_description(); + if ( $term_description && is_tax( array( 'product_cat', 'product_tag' ) ) && get_query_var( 'paged' ) == 0 ) + echo '
' . wpautop( wptexturize( $term_description ) ) . '
'; } } if ( ! function_exists( 'woocommerce_product_archive_description' ) ) {