Make WordPress Core

Ticket #14119: 14119.diff

File 14119.diff, 1.1 KB (added by wpmuguru, 14 years ago)
  • wp-admin/ms-edit.php

     
    118118                update_site_option( 'dashboard_blog', $dashboard_blog_id );
    119119
    120120                $options = array( 'registrationnotification', 'registration', 'add_new_users', 'menu_items', 'mu_media_buttons', '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', 'admin_notice_feed', 'global_terms_enabled' );
    121                 $checked_options = array( 'mu_media_buttons' => array(), 'menu_items' => array(), 'registrationnotification' => 'no', 'upload_space_check_disabled' => 1 );
     121                $checked_options = array( 'mu_media_buttons' => array(), 'menu_items' => array(), 'registrationnotification' => 'no', 'upload_space_check_disabled' => 1, 'add_new_users' => 0 );
    122122                foreach ( $checked_options as $option_name => $option_unchecked_value ) {
    123123                        if ( ! isset( $_POST[$option_name] ) )
    124124                                $_POST[$option_name] = $option_unchecked_value;