From aa5acc922404b76e0313f4c25cec1910499f7f22 Mon Sep 17 00:00:00 2001 From: wpmuguru Date: Mon, 15 Mar 2010 17:43:18 +0000 Subject: [PATCH] fix warning on cookie_domain, see #12457 git-svn-id: http://svn.automattic.com/wordpress/trunk@13707 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-default-constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/ms-default-constants.php b/wp-includes/ms-default-constants.php index 931e94e99..7cf68dd06 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