diff -r 490d5cc509ed -r cf61fcea0001 wp/wp-admin/network/index.php --- a/wp/wp-admin/network/index.php Tue Jun 09 11:14:17 2015 +0000 +++ b/wp/wp-admin/network/index.php Mon Oct 14 17:39:30 2019 +0200 @@ -13,11 +13,8 @@ /** 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()->set_help_sidebar( '

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

' . - '

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

' . - '

' . __('Support Forums') . '

' + '

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

' . + '

' . __('Support Forums') . '

' ); wp_dashboard_setup(); @@ -65,7 +62,7 @@ ?>
-

+

@@ -76,4 +73,6 @@
- +