Ticket #6481: upgrade_v2.diff
File upgrade_v2.diff, 730 bytes (added by , 16 years ago) |
---|
-
wp-admin/includes/upgrade.php
69 69 70 70 wp_install_defaults($user_id); 71 71 72 $wp_rewrite->flush_rules();73 72 73 if ( got_mod_rewrite() && is_file(ABSPATH . '.htaccess') && is_writable(ABSPATH . '.htaccess') ) 74 { 75 $permalink_structure = '/%year%/%monthnum%/%day%/%postname%/'; 76 update_option('permalink_structure', $permalink_structure); 77 } 78 79 $GLOBALS['wp_rewrite'] =& new WP_Rewrite(); 80 $GLOBALS['wp_rewrite']->flush_rules(); 81 82 74 83 wp_new_blog_notification($blog_title, $guessurl, $user_id, $random_password); 75 84 76 85 wp_cache_flush();