equal
deleted
inserted
replaced
16 if ( empty( $_GET['action'] ) ) { |
16 if ( empty( $_GET['action'] ) ) { |
17 wp_redirect( network_admin_url() ); |
17 wp_redirect( network_admin_url() ); |
18 exit; |
18 exit; |
19 } |
19 } |
20 |
20 |
21 do_action( 'wpmuadminedit' , '' ); |
21 /** |
|
22 * Fires just before the action handler in several Network Admin screens. |
|
23 * |
|
24 * This hook fires on multiple screens in the Multisite Network Admin, |
|
25 * including Users, Network Settings, and Site Settings. |
|
26 * |
|
27 * @since 3.0.0 |
|
28 */ |
|
29 do_action( 'wpmuadminedit' ); |
22 |
30 |
23 // Let plugins use us as a post handler easily |
31 /** |
|
32 * Fires the requested handler action. |
|
33 * |
|
34 * The dynamic portion of the hook name, `$_GET['action']`, refers to the name |
|
35 * of the requested action. |
|
36 * |
|
37 * @since 3.1.0 |
|
38 */ |
24 do_action( 'network_admin_edit_' . $_GET['action'] ); |
39 do_action( 'network_admin_edit_' . $_GET['action'] ); |
25 |
40 |
26 wp_redirect( network_admin_url() ); |
41 wp_redirect( network_admin_url() ); |
27 exit(); |
42 exit(); |