Use get_comment_text to get output

This commit is contained in:
Mike Jolley 2016-06-01 16:19:13 +01:00
parent 81195e876f
commit d0d3481091
1 changed files with 1 additions and 1 deletions

View File

@ -1215,7 +1215,7 @@ if ( ! function_exists( 'woocommerce_review_display_comment_text' ) ) {
* @return void
*/
function woocommerce_review_display_comment_text() {
echo '<div itemprop="description" class="description">' . comment_text() . '</div>';
echo '<div itemprop="description" class="description">' . get_comment_text() . '</div>';
}
}