Use get_comment_text to get output
This commit is contained in:
parent
81195e876f
commit
d0d3481091
|
@ -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>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue