diff --git a/wp-includes/ms-default-constants.php b/wp-includes/ms-default-constants.php index 931e94e996..7cf68dd061 100644 --- a/wp-includes/ms-default-constants.php +++ b/wp-includes/ms-default-constants.php @@ -62,7 +62,7 @@ function ms_cookie_constants( ) { /** * @since 2.0.0 */ - if ( !defined('COOKIE_DOMAIN') && 'localhost' != $current_site->cookie_domain ) { + if ( !defined('COOKIE_DOMAIN') && 'localhost' != $current_site->domain ) { if ( isset( $current_site->cookie_domain ) ) define('COOKIE_DOMAIN', '.' . $current_site->cookie_domain); else