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.
Built from https://develop.svn.wordpress.org/trunk@31999


git-svn-id: http://core.svn.wordpress.org/trunk@31978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-04-03 13:28:26 +00:00
parent 906c2708c1
commit 247fdbfe19
2 changed files with 1 additions and 2 deletions

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="" />

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta4-31998';
$wp_version = '4.2-beta4-31999';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.