Changeset 13095 for trunk/wp-admin/ms-edit.php
- Timestamp:
- 02/13/2010 07:09:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-edit.php
r12978 r13095 103 103 update_site_option( "dashboard_blog", $dashboard_blog_id ); 104 104 $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' ); 105 $checked_options = array('mu_media_buttons', 'menu_items'); 106 foreach ( $checked_options as $option_name ) { 107 if ( ! isset($_POST[ $option_name ]) ) 108 $_POST[ $option_name ] = array(); 109 } 105 110 foreach ( $options as $option_name ) { 106 111 if ( ! isset($_POST[ $option_name ]) )
Note: See TracChangeset
for help on using the changeset viewer.