fix warning on cookie_domain, see #12457

git-svn-id: https://develop.svn.wordpress.org/trunk@13707 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick 2010-03-15 17:43:18 +00:00
parent 5c18ec70f6
commit 2f1c39ad75
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function ms_cookie_constants( ) {
/** /**
* @since 2.0.0 * @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 ) ) if ( isset( $current_site->cookie_domain ) )
define('COOKIE_DOMAIN', '.' . $current_site->cookie_domain); define('COOKIE_DOMAIN', '.' . $current_site->cookie_domain);
else else