Fixed unformated reviews

cc @mikejolley
This commit is contained in:
Claudio Sanches 2016-07-14 13:52:04 +02:00
parent 36243b15a0
commit d7aea130b0
1 changed files with 5 additions and 4 deletions

View File

@ -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 '<div itemprop="description" class="description">' . get_comment_text() . '</div>';
echo '<div itemprop="description" class="description">';
comment_text();
echo '</div>';
}
}