WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/23/2012 06:16:46 PM (9 years ago)
Author:
westi
Message:

Make sure to echo out the comment_post_ID when building the edit comment form otherwise the post comment counts will get out of sync. Fixes #20108 props dllh.

File:
1 edited

Legend:

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

    r19731 r19981  
    2121<input type="hidden" name="action" value="editedcomment" />
    2222<input type="hidden" name="comment_ID" value="<?php echo esc_attr( $comment->comment_ID ); ?>" />
    23 <input type="hidden" name="comment_post_ID" value="<?php esc_attr( $comment->comment_post_ID ); ?>" />
     23<input type="hidden" name="comment_post_ID" value="<?php echo esc_attr( $comment->comment_post_ID ); ?>" />
    2424
    2525<div id="side-info-column" class="inner-sidebar">
Note: See TracChangeset for help on using the changeset viewer.