WordPress.org

Make WordPress Core

Changeset 15342


Ignore:
Timestamp:
06/27/10 20:11:59 (4 years ago)
Author:
nacin
Message:

Save add_new_users ms-option. props wpmuguru, fixes #14119 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r15340 r15342  
    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] ) ) 
Note: See TracChangeset for help on using the changeset viewer.