Check WP_INSTALLING when setting cookiehash. Props DD32. fixes #6990

git-svn-id: https://develop.svn.wordpress.org/trunk@7947 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-05-18 20:06:31 +00:00
parent 120003b45d
commit 26324f55ee
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ require (ABSPATH . WPINC . '/canonical.php');
require (ABSPATH . WPINC . '/shortcodes.php');
require (ABSPATH . WPINC . '/media.php');
if (strpos($_SERVER['PHP_SELF'], 'install.php') === false) {
if ( ! defined('WP_INSTALLING') ) {
// Used to guarantee unique hash cookies
$cookiehash = md5(get_option('siteurl'));
/**