Make WordPress Core


Ignore:
Timestamp:
03/09/2010 06:14:42 AM (15 years ago)
Author:
nacin
Message:

Allow localhost in a multisite subdirectory install. More network.php improvements. see #12457 for localhost. see #11816

File:
1 edited

Legend:

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

    r13268 r13622  
    6262     * @since 2.0.0
    6363     */
    64     if ( !defined('COOKIE_DOMAIN') ) {
     64    if ( !defined('COOKIE_DOMAIN') && 'localhost' != $current_site->cookie_domain ) {
    6565        if ( isset( $current_site->cookie_domain ) )
    6666            define('COOKIE_DOMAIN', '.' . $current_site->cookie_domain);
Note: See TracChangeset for help on using the changeset viewer.