Declare $action as a global in wp-admin/comment.php.

See #30799.


git-svn-id: https://develop.svn.wordpress.org/trunk@31128 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-01-10 20:41:04 +00:00
parent 979ba60a57
commit 061daaa7ee

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