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
This commit is contained in:
Scott Taylor 2015-01-10 20:42:24 +00:00
parent 5547115dc2
commit 2b6b7c0235
2 changed files with 2 additions and 1 deletions

View File

@ -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'] ) )

View File

@ -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.