X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/784f914b1e4b1c62d6657e86397c2e83bcee4295..16e7b37c7914d753890c1a05a9335f3b43751eb8:/wp-admin/network/settings.php diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index bc111d14..5d81cdf3 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -13,11 +13,8 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); /** WordPress Translation Install API */ require_once( ABSPATH . 'wp-admin/includes/translation-install.php' ); -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.' ), 403 ); + wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); $title = __( 'Network Settings' ); $parent_file = 'settings.php'; @@ -40,8 +37,8 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . - '

' . __('Documentation on Network Settings') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Network Settings') . '

' . + '

' . __('Support Forums') . '

' ); if ( $_POST ) { @@ -62,6 +59,7 @@ if ( $_POST ) { 'first_post', 'first_page', 'first_comment', 'first_comment_url', 'first_comment_author', 'welcome_email', 'welcome_user_email', 'fileupload_maxk', 'global_terms_enabled', 'illegal_names', 'limited_email_domains', 'banned_email_domains', 'WPLANG', 'admin_email', + 'first_comment_email', ); // Handle translation install. @@ -93,7 +91,7 @@ if ( $_POST ) { include( ABSPATH . 'wp-admin/admin-header.php' ); if ( isset( $_GET['updated'] ) ) { - ?>

@@ -106,7 +104,7 @@ if ( isset( $_GET['updated'] ) ) { - + @@ -264,6 +262,15 @@ if ( isset( $_GET['updated'] ) ) {

+ + + + +

+ +

+ + @@ -299,7 +306,13 @@ if ( isset( $_GET['updated'] ) ) { - ' ); ?> + ' + ); + ?>

@@ -347,7 +360,7 @@ if ( isset( $_GET['updated'] ) ) {