mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
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:
parent
5547115dc2
commit
2b6b7c0235
|
|
@ -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'] ) )
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user