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:
parent
eddf881bb5
commit
367e600ea8
@ -33,6 +33,7 @@ function upgrade_all() {
|
|||||||
if ( $wp_current_db_version < 3308 )
|
if ( $wp_current_db_version < 3308 )
|
||||||
upgrade_160();
|
upgrade_160();
|
||||||
|
|
||||||
|
generate_page_rewrite_rules();
|
||||||
save_mod_rewrite_rules();
|
save_mod_rewrite_rules();
|
||||||
|
|
||||||
update_option('db_version', $wp_db_version);
|
update_option('db_version', $wp_db_version);
|
||||||
|
Loading…
Reference in New Issue
Block a user