X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..refs/tags/wordpress-4.1-scripts:/wp-admin/network/sites.php diff --git a/wp-admin/network/sites.php b/wp-admin/network/sites.php index c5d353a9..1dcdc781 100644 --- a/wp-admin/network/sites.php +++ b/wp-admin/network/sites.php @@ -43,13 +43,14 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . '

' . __('Documentation on Site Management') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Support Forums') . '

' ); $id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; if ( isset( $_GET['action'] ) ) { - do_action( 'wpmuadminedit' , '' ); + /** This action is documented in wp-admin/network/edit.php */ + do_action( 'wpmuadminedit' ); if ( 'confirm' === $_GET['action'] ) { check_admin_referer( 'confirm' ); @@ -58,33 +59,26 @@ if ( isset( $_GET['action'] ) ) { nocache_headers(); header( 'Content-Type: text/html; charset=utf-8' ); } - if ( $current_site->blog_id == $id ) + + if ( $current_site->blog_id == $id ) { wp_die( __( 'You are not allowed to change the current site.' ) ); + } + + require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> - - > - - <?php _e( 'WordPress › Confirm your action' ); ?> - - - - - -

+
+

- +
- - +
-