From 26324f55ee00c7f856a74ab7e30804ed36c5a30e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 18 May 2008 20:06:31 +0000 Subject: [PATCH] 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 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index cfb6844706..0f5ce0883a 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -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')); /**