mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Allow localhost in a multisite subdirectory install. More network.php improvements. see #12457 for localhost. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13622 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -61,7 +61,7 @@ function ms_cookie_constants( ) {
|
||||
/**
|
||||
* @since 2.0.0
|
||||
*/
|
||||
if ( !defined('COOKIE_DOMAIN') ) {
|
||||
if ( !defined('COOKIE_DOMAIN') && 'localhost' != $current_site->cookie_domain ) {
|
||||
if ( isset( $current_site->cookie_domain ) )
|
||||
define('COOKIE_DOMAIN', '.' . $current_site->cookie_domain);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user