WordPress.org

Make WordPress Core

Changeset 37158


Ignore:
Timestamp:
04/04/2016 11:32:15 PM (3 years ago)
Author:
johnbillion
Message:

Comments: Wrap the formatted comment text on the comment moderation screen in comment_text() so paragraphs and texturisation are applied.

Fixes #34133

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/comment.php

    r36588 r37158  
    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>
Note: See TracChangeset for help on using the changeset viewer.