Regen page rewrite rules when upgrading.

git-svn-id: https://develop.svn.wordpress.org/trunk@3372 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-12-28 05:20:13 +00:00
parent eddf881bb5
commit 367e600ea8

View File

@ -33,6 +33,7 @@ function upgrade_all() {
if ( $wp_current_db_version < 3308 )
upgrade_160();
generate_page_rewrite_rules();
save_mod_rewrite_rules();
update_option('db_version', $wp_db_version);