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.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2012-02-23 18:16:46 +00:00
parent 013b783a05
commit a1d2e646ab
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if ( !defined('ABSPATH') )
<input type="hidden" name="user_ID" value="<?php echo (int) $user_ID; ?>" />
<input type="hidden" name="action" value="editedcomment" />
<input type="hidden" name="comment_ID" value="<?php echo esc_attr( $comment->comment_ID ); ?>" />
<input type="hidden" name="comment_post_ID" value="<?php esc_attr( $comment->comment_post_ID ); ?>" />
<input type="hidden" name="comment_post_ID" value="<?php echo esc_attr( $comment->comment_post_ID ); ?>" />
<div id="side-info-column" class="inner-sidebar">
<div id="submitdiv" class="stuffbox" >