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:
parent
979ba60a57
commit
061daaa7ee
@ -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'] ) )
|
||||
|
Loading…
Reference in New Issue
Block a user