Make WordPress Core

Changeset 13707


Ignore:
Timestamp:
03/15/2010 05:43:18 PM (15 years ago)
Author:
wpmuguru
Message:

fix warning on cookie_domain, see #12457

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-default-constants.php

    r13632 r13707  
    6363     * @since 2.0.0
    6464     */
    65     if ( !defined('COOKIE_DOMAIN') && 'localhost' != $current_site->cookie_domain ) {
     65    if ( !defined('COOKIE_DOMAIN') && 'localhost' != $current_site->domain ) {
    6666        if ( isset( $current_site->cookie_domain ) )
    6767            define('COOKIE_DOMAIN', '.' . $current_site->cookie_domain);
Note: See TracChangeset for help on using the changeset viewer.