X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e0feb3b2e5b436a06bbb04fbc838d1cd6ec95399..HEAD:/wp-admin/network/index.php diff --git a/wp-admin/network/index.php b/wp-admin/network/index.php index 5c2bfe88..81ededbe 100644 --- a/wp-admin/network/index.php +++ b/wp-admin/network/index.php @@ -13,11 +13,8 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); /** Load WordPress dashboard API */ require_once( ABSPATH . 'wp-admin/includes/dashboard.php' ); -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.' ), 403 ); + wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); $title = __( 'Dashboard' ); $parent_file = 'index.php'; @@ -50,8 +47,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();