Changeset 34265 for trunk/src/wp-admin/admin.php
- Timestamp:
- 09/17/2015 12:32:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r34059 r34265 359 359 } 360 360 361 $_action = wp_validate_action(); 362 if ( ! empty( $_action ) ) { 361 if ( ! empty( $_REQUEST['action'] ) ) { 363 362 /** 364 363 * Fires when an 'action' request variable is sent. 365 364 * 366 * The dynamic portion of the hook name, `$_ action`,365 * The dynamic portion of the hook name, `$_REQUEST['action']`, 367 366 * refers to the action derived from the `GET` or `POST` request. 368 367 * 369 368 * @since 2.6.0 370 369 */ 371 do_action( 'admin_action_' . $_action ); 372 } 373 unset( $_action ); 370 do_action( 'admin_action_' . $_REQUEST['action'] ); 371 }
Note: See TracChangeset
for help on using the changeset viewer.