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:
parent
120003b45d
commit
26324f55ee
@ -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'));
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user