diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index 5ce09d294a3..0efd5b76cc1 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -910,7 +910,7 @@ if ( ! function_exists( 'woocommerce_content' ) ) { - ' . get_the_title() . ''; + echo '

' . esc_html( get_the_title() ) . '

'; } } if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {