Remove hidden user_id input from wp_comment_reply().

Since [31172], it caused the comment's `user_id` field to be unexpectedly changed to the user who edits the comment.

See [31776] for Edit Comment screen.

props dllh.
fixes #30307.

git-svn-id: https://develop.svn.wordpress.org/trunk@31999 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-04-03 13:27:32 +00:00
parent 3e0278aa94
commit 667899569f

View File

@ -518,7 +518,6 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $
<br class="clear" />
</p>
<input type="hidden" name="user_ID" id="user_ID" value="<?php echo get_current_user_id(); ?>" />
<input type="hidden" name="action" id="action" value="" />
<input type="hidden" name="comment_ID" id="comment_ID" value="" />
<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />