Skip to content

Commit 2d95d41

Browse files
committed
Comments: Wrap the formatted comment text on the comment moderation screen in comment_text() so paragraphs and texturisation are applied.
Fixes #34133 git-svn-id: https://develop.svn.wordpress.org/trunk@37158 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6c79b71 commit 2d95d41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
<tr>
213213
<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
214214
<td>
215-
<?php echo $comment->comment_content; ?>
215+
<?php comment_text( $comment ); ?>
216216
<p><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_attr_e( 'Edit' ); ?></a></p>
217217
</td>
218218
</tr>

0 commit comments

Comments
 (0)