fix warning on cookie_domain, see #12457

git-svn-id: http://svn.automattic.com/wordpress/trunk@13707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru 2010-03-15 17:43:18 +00:00
parent 5ce50c73d9
commit aa5acc9224
1 changed files with 1 additions and 1 deletions

View File

@ -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