Login and Registration: Avoid a potentially incorrect value for the cookie hash on multisite installations that don't have a value in the siteurl network option.

This reverts [38619].

See #34084

Fixes #39497


git-svn-id: https://develop.svn.wordpress.org/trunk@40320 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2017-03-23 19:00:31 +00:00
parent 13f7d1c21f
commit eda002a9d5
2 changed files with 2 additions and 16 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ function wp_cookie_constants() {
if ( $siteurl )
define( 'COOKIEHASH', md5( $siteurl ) );
else
define( 'COOKIEHASH', md5( wp_guess_url() ) );
define( 'COOKIEHASH', '' );
}
/**