From 061daaa7ee6e3ee0e1e5ec0963322e69e2670668 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 10 Jan 2015 20:41:04 +0000 Subject: [PATCH] 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 --- src/wp-admin/comment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php index 1c46b0a9f1..ab43f97b56 100644 --- a/src/wp-admin/comment.php +++ b/src/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'] ) )