Changeset 12945
- Timestamp:
- 02/04/2010 06:19:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-edit.php
r12935 r12945 24 24 wp_die( __("You probably need to go back to the <a href='ms-options.php'>options page</a>") ); 25 25 26 update_site_option( "WPLANG", $_POST['WPLANG'] ); 26 if ( isset($_POST['WPLANG']) ) 27 update_site_option( "WPLANG", $_POST['WPLANG'] ); 27 28 28 29 if ( is_email( $_POST['admin_email'] ) ) … … 103 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' ); 104 105 foreach ( $options as $option_name ) { 106 if ( ! isset($_POST[ $option_name ]) ) 107 continue; 105 108 $value = stripslashes_deep( $_POST[ $option_name ] ); 106 109 update_site_option( $option_name, $value );
Note: See TracChangeset
for help on using the changeset viewer.