From 2b6b7c0235755c054679d065e5dfe6f03b0d2bf6 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 10 Jan 2015 20:42:24 +0000 Subject: [PATCH] Declare `$action` as a global in `wp-admin/comment.php`. See #30799. Built from https://develop.svn.wordpress.org/trunk@31128 git-svn-id: http://core.svn.wordpress.org/trunk@31109 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/comment.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 1c46b0a9f1..ab43f97b56 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -12,6 +12,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); $parent_file = 'edit-comments.php'; $submenu_file = 'edit-comments.php'; +global $action; wp_reset_vars( array('action') ); if ( isset( $_POST['deletecomment'] ) ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 30bb468996..44dd4b9f20 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31127'; +$wp_version = '4.2-alpha-31128'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.