From d7aea130b0e918e819d15275933f581e3811d8a2 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 14 Jul 2016 13:52:04 +0200 Subject: [PATCH] Fixed unformated reviews cc @mikejolley --- includes/wc-template-functions.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 '
'; } }