From e00bc528b6edeb4ffc319fb060c78a0432c33c8a Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 18 Aug 2011 06:17:47 +0000 Subject: [PATCH] Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379. git-svn-id: http://svn.automattic.com/wordpress/trunk@18564 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/network/edit.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-admin/network/edit.php b/wp-admin/network/edit.php index 3cd958a3ae..5ccba2a0c7 100644 --- a/wp-admin/network/edit.php +++ b/wp-admin/network/edit.php @@ -14,15 +14,16 @@ if ( ! is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); if ( empty( $_GET['action'] ) ) { - wp_redirect( admin_url( 'index.php' ) ); + wp_redirect( network_admin_url() ); exit; } -do_action( 'wpmuadminedit' , ''); +do_action( 'wpmuadminedit' , '' ); // Let plugins use us as a post handler easily do_action( 'network_admin_edit_' . $_GET['action'] ); -wp_redirect( network_admin_url( 'index.php' ) ); + +wp_redirect( network_admin_url() ); exit(); ?>