From 247fdbfe19bac10020f503cbf9d57e340b03c4c0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 3 Apr 2015 13:28:26 +0000 Subject: [PATCH] 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 --- wp-admin/includes/template.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index ca064233e6..10023c1b06 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -518,7 +518,6 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $

- diff --git a/wp-includes/version.php b/wp-includes/version.php index 720e18a3e6..d915a9345d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.