Make WordPress Core

Changeset 15343


Ignore:
Timestamp:
06/27/2010 08:14:30 PM (14 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

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

    r15341 r15343  
    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.