2010-07-30 22:34:54 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Action handler for Multisite administration panels.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Multisite
|
|
|
|
* @since 3.0.0
|
|
|
|
*/
|
|
|
|
|
2010-11-10 15:27:15 +01:00
|
|
|
/** Load WordPress Administration Bootstrap */
|
2010-07-30 22:34:54 +02:00
|
|
|
require_once( './admin.php' );
|
|
|
|
|
|
|
|
if ( ! is_multisite() )
|
|
|
|
wp_die( __( 'Multisite support is not enabled.' ) );
|
|
|
|
|
2010-12-09 19:02:54 +01:00
|
|
|
if ( empty( $_GET['action'] ) ) {
|
2010-08-02 20:10:43 +02:00
|
|
|
wp_redirect( admin_url( 'index.php' ) );
|
2010-12-09 19:02:54 +01:00
|
|
|
exit;
|
|
|
|
}
|
2010-08-02 20:10:43 +02:00
|
|
|
|
2010-07-30 22:34:54 +02:00
|
|
|
do_action( 'wpmuadminedit' , '');
|
|
|
|
|
2011-08-18 04:29:06 +02:00
|
|
|
// Let plugins use us as a post handler easily
|
|
|
|
do_action( 'network_admin_edit_' . $_GET['action'] );
|
|
|
|
wp_redirect( network_admin_url( 'index.php' ) );
|
|
|
|
exit();
|
2010-07-30 22:34:54 +02:00
|
|
|
|
|
|
|
?>
|