WordPress.org

Make WordPress Core

Ticket #23988: edit-form-comment.diff

File edit-form-comment.diff, 626 bytes (added by Thaicloud, 8 years ago)

Adds "In Response To: Post Title" to comment edit page

  • wp-admin/edit-form-comment.php

     
    1414<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?>
    1515<div class="wrap">
    1616<h2><?php _e('Edit Comment'); ?></h2>
     17<p><?php _e( 'In Response To' ); ?>: <a href="<?php echo get_permalink( $comment->comment_post_ID ); ?>"><?php echo get_the_title( $comment->comment_post_ID ); ?></a></p>
    1718
    1819<div id="poststuff">
    1920<input type="hidden" name="user_ID" value="<?php echo (int) $user_ID; ?>" />