WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/23/2017 07:00:31 PM (3 years ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-constants.php

    r38839 r40320  
    206206            define( 'COOKIEHASH', md5( $siteurl ) );
    207207        else
    208             define( 'COOKIEHASH', md5( wp_guess_url() ) );
     208            define( 'COOKIEHASH', '' );
    209209    }
    210210
Note: See TracChangeset for help on using the changeset viewer.