X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/849f15aeed7a5e39314057bdc0064d8edd60dd7d..c81aba3d563f7459dc79140e4c5be67bcf506b92:/wp-admin/network/settings.php diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index d3d8584f..cd8e251d 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -17,32 +17,11 @@ if ( ! is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); if ( ! current_user_can( 'manage_network_options' ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); + wp_die( __( 'You do not have permission to access this page.' ), 403 ); $title = __( 'Network Settings' ); $parent_file = 'settings.php'; -/** - * Print JavaScript in the header on the Network Settings screen. - * - * @since 4.1.0 -*/ -function network_settings_add_js() { -?> - -add_help_tab( array( @@ -61,7 +40,7 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '
' . __('For more information:') . '
' . - '' . __('Documentation on Network Settings') . '
' . + '' . __('Documentation on Network Settings') . '
' . '' . __('Support Forums') . '
' ); @@ -114,15 +93,15 @@ if ( $_POST ) { include( ABSPATH . 'wp-admin/admin-header.php' ); if ( isset( $_GET['updated'] ) ) { - ?>