If home changes, write rewrite rules to new location. http://mosquito.wordpress.org/view.php?id=1143
git-svn-id: http://svn.automattic.com/wordpress/trunk@2494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
65e7810299
commit
f1ccc3d222
|
@ -70,6 +70,8 @@ case 'update':
|
|||
if ($any_changed) {
|
||||
// If siteurl or home changed, reset cookies.
|
||||
if ( get_settings('siteurl') != $old_siteurl || get_settings('home') != $old_home ) {
|
||||
// If home changed, write rewrite rules to new location.
|
||||
save_mod_rewrite_rules();
|
||||
// Get currently logged in user and password.
|
||||
get_currentuserinfo();
|
||||
// Clear cookies for old paths.
|
||||
|
|
Loading…
Reference in New Issue