Changeset 4144 for trunk/wp-admin/options.php
- Timestamp:
- 08/30/2006 09:46:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options.php
r4112 r4144 88 88 89 89 // Save for later. 90 $old_siteurl = get_ settings('siteurl');91 $old_home = get_ settings('home');90 $old_siteurl = get_option('siteurl'); 91 $old_home = get_option('home'); 92 92 93 93 if ($options) { … … 105 105 if ($any_changed) { 106 106 // If siteurl or home changed, reset cookies. 107 if ( get_ settings('siteurl') != $old_siteurl || get_settings('home') != $old_home ) {107 if ( get_option('siteurl') != $old_siteurl || get_option('home') != $old_home ) { 108 108 // If home changed, write rewrite rules to new location. 109 109 $wp_rewrite->flush_rules(); … … 111 111 wp_clearcookie(); 112 112 // Set cookies for new paths. 113 wp_setcookie($user_login, $user_pass_md5, true, get_ settings('home'), get_settings('siteurl'));113 wp_setcookie($user_login, $user_pass_md5, true, get_option('home'), get_option('siteurl')); 114 114 } 115 115
Note: See TracChangeset
for help on using the changeset viewer.