diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index ffc6848ca75..a33509b286c 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -1213,13 +1213,14 @@ if ( ! function_exists( 'woocommerce_review_display_meta' ) ) { } if ( ! function_exists( 'woocommerce_review_display_comment_text' ) ) { + /** - * Display the review content - * - * @return void + * Display the review content. */ function woocommerce_review_display_comment_text() { - echo '
' . get_comment_text() . '
'; + echo '
'; + comment_text(); + echo '
'; } }