Changeset 4144 for trunk/wp-settings.php
- Timestamp:
- 08/30/2006 09:46:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r4131 r4144 142 142 if (!strstr($_SERVER['PHP_SELF'], 'install.php')) : 143 143 // Used to guarantee unique hash cookies 144 $cookiehash = md5(get_ settings('siteurl')); // Remove in 1.4144 $cookiehash = md5(get_option('siteurl')); // Remove in 1.4 145 145 define('COOKIEHASH', $cookiehash); 146 146 endif; … … 151 151 define('PASS_COOKIE', 'wordpresspass_'. COOKIEHASH); 152 152 if ( !defined('COOKIEPATH') ) 153 define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_ settings('home') . '/' ) );153 define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) ); 154 154 if ( !defined('SITECOOKIEPATH') ) 155 define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_ settings('siteurl') . '/' ) );155 define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('siteurl') . '/' ) ); 156 156 if ( !defined('COOKIE_DOMAIN') ) 157 157 define('COOKIE_DOMAIN', false); … … 160 160 161 161 // Check for hacks file if the option is enabled 162 if (get_ settings('hack_file')) {162 if (get_option('hack_file')) { 163 163 if (file_exists(ABSPATH . '/my-hacks.php')) 164 164 require(ABSPATH . '/my-hacks.php'); 165 165 } 166 166 167 if ( get_ settings('active_plugins') ) {168 $current_plugins = get_ settings('active_plugins');167 if ( get_option('active_plugins') ) { 168 $current_plugins = get_option('active_plugins'); 169 169 if ( is_array($current_plugins) ) { 170 170 foreach ($current_plugins as $plugin) {
Note: See TracChangeset
for help on using the changeset viewer.