--- a/wp/wp-admin/network/index.php Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-admin/network/index.php Tue Dec 15 13:49:49 2020 +0100
@@ -8,10 +8,10 @@
*/
/** Load WordPress Administration Bootstrap */
-require_once( dirname( __FILE__ ) . '/admin.php' );
+require_once __DIR__ . '/admin.php';
/** Load WordPress dashboard API */
-require_once( ABSPATH . 'wp-admin/includes/dashboard.php' );
+require_once ABSPATH . 'wp-admin/includes/dashboard.php';
if ( ! current_user_can( 'manage_network' ) ) {
wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 );
@@ -52,7 +52,7 @@
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
- '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin">Documentation on the Network Admin</a>' ) . '</p>' .
+ '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin/">Documentation on the Network Admin</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
);
@@ -62,7 +62,7 @@
wp_enqueue_script( 'plugin-install' );
add_thickbox();
-require_once( ABSPATH . 'wp-admin/admin-header.php' );
+require_once ABSPATH . 'wp-admin/admin-header.php';
?>
@@ -80,4 +80,4 @@
<?php
wp_print_community_events_templates();
-include( ABSPATH . 'wp-admin/admin-footer.php' );
+require_once ABSPATH . 'wp-admin/admin-footer.php';