mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 19:20:03 +00:00
Superglobals: Revert [34059] until further notice.
see #33837. git-svn-id: https://develop.svn.wordpress.org/trunk@34265 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -358,16 +358,14 @@ if ( isset($plugin_page) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$_action = wp_validate_action();
|
||||
if ( ! empty( $_action ) ) {
|
||||
if ( ! empty( $_REQUEST['action'] ) ) {
|
||||
/**
|
||||
* Fires when an 'action' request variable is sent.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$_action`,
|
||||
* The dynamic portion of the hook name, `$_REQUEST['action']`,
|
||||
* refers to the action derived from the `GET` or `POST` request.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( 'admin_action_' . $_action );
|
||||
do_action( 'admin_action_' . $_REQUEST['action'] );
|
||||
}
|
||||
unset( $_action );
|
||||
|
||||
Reference in New Issue
Block a user