diff -r c7c34916027a -r 177826044cd9 wp/wp-admin/network/index.php --- a/wp/wp-admin/network/index.php Mon Oct 14 18:06:33 2019 +0200 +++ b/wp/wp-admin/network/index.php Mon Oct 14 18:28:13 2019 +0200 @@ -13,42 +13,47 @@ /** Load WordPress dashboard API */ require_once( ABSPATH . 'wp-admin/includes/dashboard.php' ); -if ( ! current_user_can( 'manage_network' ) ) +if ( ! current_user_can( 'manage_network' ) ) { wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); +} -$title = __( 'Dashboard' ); +$title = __( 'Dashboard' ); $parent_file = 'index.php'; -$overview = '

' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '

'; +$overview = '

' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '

'; $overview .= '

' . __( 'From here you can:' ) . '

'; $overview .= ''; -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __( 'Overview' ), - 'content' => $overview -) ); +get_current_screen()->add_help_tab( + array( + 'id' => 'overview', + 'title' => __( 'Overview' ), + 'content' => $overview, + ) +); -$quick_tasks = '

' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '

'; +$quick_tasks = '

' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '

'; $quick_tasks .= ''; $quick_tasks .= '

' . __( 'To search for a user or site, use the search boxes.' ) . '

'; $quick_tasks .= ''; -get_current_screen()->add_help_tab( array( - 'id' => 'quick-tasks', - 'title' => __( 'Quick Tasks' ), - 'content' => $quick_tasks -) ); +get_current_screen()->add_help_tab( + array( + 'id' => 'quick-tasks', + 'title' => __( 'Quick Tasks' ), + 'content' => $quick_tasks, + ) +); get_current_screen()->set_help_sidebar( - '

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

' . - '

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

' . - '

' . __('Support Forums') . '

' + '

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

' . + '

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

' . + '

' . __( 'Support Forums' ) . '

' ); wp_dashboard_setup();