Changeset 6026 for trunk/wp-settings.php
- Timestamp:
- 09/03/2007 11:32:58 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-settings.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r6025 r6026 12 12 13 13 $input = array_merge($_GET, $_POST, $_COOKIE, $_SERVER, $_ENV, $_FILES, isset($_SESSION) && is_array($_SESSION) ? $_SESSION : array()); 14 foreach ( $input as $k => $v ) 14 foreach ( $input as $k => $v ) 15 15 if ( !in_array($k, $noUnset) && isset($GLOBALS[$k]) ) { 16 16 $GLOBALS[$k] = NULL; … … 19 19 } 20 20 21 wp_unregister_GLOBALS(); 21 wp_unregister_GLOBALS(); 22 22 23 23 unset( $wp_filter, $cache_userdata, $cache_lastcommentmodified, $cache_lastpostdate, $cache_settings, $category_cache, $cache_categories ); … … 159 159 if ( !is_blog_installed() && (strpos($_SERVER['PHP_SELF'], 'install.php') === false && !defined('WP_INSTALLING')) ) { 160 160 if ( defined('WP_SITEURL') ) 161 $link = WP_SITEURL . '/wp-admin/install.php'; 161 $link = WP_SITEURL . '/wp-admin/install.php'; 162 162 elseif (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) 163 163 $link = preg_replace('|/wp-admin/?.*?$|', '/', $_SERVER['PHP_SELF']) . 'wp-admin/install.php'; … … 200 200 // Used to guarantee unique hash cookies 201 201 $cookiehash = md5(get_option('siteurl')); 202 define('COOKIEHASH', $cookiehash); 202 define('COOKIEHASH', $cookiehash); 203 203 } 204 204
Note: See TracChangeset
for help on using the changeset viewer.