X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/72836ec95a52eacbda4dc5aa296b7dd6de08bd3b..5e031ad59895b5682d1509675cafe9f2c5081c12:/wp-admin/network/index.php diff --git a/wp-admin/network/index.php b/wp-admin/network/index.php index 5514331c..70f6bbf5 100644 --- a/wp-admin/network/index.php +++ b/wp-admin/network/index.php @@ -17,7 +17,7 @@ if ( !is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); if ( ! current_user_can( 'manage_network' ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); + wp_die( __( 'You do not have permission to access this page.' ), 403 ); $title = __( 'Dashboard' ); $parent_file = 'index.php'; @@ -50,8 +50,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on the Network Admin') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on the Network Admin') . '

' . + '

' . __('Support Forums') . '

' ); wp_dashboard_setup(); @@ -60,14 +60,11 @@ wp_enqueue_script( 'dashboard' ); wp_enqueue_script( 'plugin-install' ); add_thickbox(); -add_screen_option('layout_columns', array('max' => 4, 'default' => 2) ); - require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-