Make WordPress Core

Ticket #34133: 34133_filter_text.diff

File 34133_filter_text.diff, 573 bytes (added by rachelbaker, 9 years ago)

Use the comment_text() function when displaying the comment_content as promised

  • src/wp-admin/comment.php

     
    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->comment_ID ); ?>
    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>