From ac958d3ec658e1e44f8ed181a99902a6c559cf55 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 5 Oct 2011 22:05:43 +0000 Subject: [PATCH] Oops. see #17578. git-svn-id: https://develop.svn.wordpress.org/trunk@18893 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/network/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index 16de4bf033..fdb91eef7f 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -80,7 +80,7 @@ if ( $_POST ) { update_site_option( 'banned_email_domains', '' ); } - $options = array( 'registrationnotification', 'registration', 'add_new_users', 'menu_items', 'upload_disabled', 'upload_space_check_disabled', 'blog_upload_space', 'upload_filetypes', 'site_name', 'first_post', 'first_page', 'first_comment', 'first_comment_url', 'first_comment_author', 'welcome_email', 'welcome_user_email', 'fileupload_maxk', 'global_terms_enabled' ); + $options = array( 'registrationnotification', 'registration', 'add_new_users', 'menu_items', 'upload_space_check_disabled', 'blog_upload_space', 'upload_filetypes', 'site_name', 'first_post', 'first_page', 'first_comment', 'first_comment_url', 'first_comment_author', 'welcome_email', 'welcome_user_email', 'fileupload_maxk', 'global_terms_enabled' ); $checked_options = array( 'menu_items' => array(), 'registrationnotification' => 'no', 'upload_space_check_disabled' => 1, 'add_new_users' => 0 ); foreach ( $checked_options as $option_name => $option_unchecked_value ) { if ( ! isset( $_POST[$option_name] ) )