Make WordPress Core


Ignore:
Timestamp:
01/26/2010 10:46:09 PM (14 years ago)
Author:
ryan
Message:

Deprecate is_main_blog() for is_main_site(). see #11644

File:
1 edited

Legend:

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

    r12787 r12858  
    6666        if ( defined( 'BLOGID_CURRENT_SITE' ) )
    6767            $current_site->blog_id = BLOGID_CURRENT_SITE;
    68         if ( DOMAIN_CURRENT_SITE == $domain ) 
     68        if ( DOMAIN_CURRENT_SITE == $domain )
    6969            $current_site->cookie_domain = $cookie_domain;
    7070        elseif ( substr( $current_site->domain, 0, 4 ) == 'www.' )
     
    7272        else
    7373            $current_site->cookie_domain = $current_site->domain;
    74            
     74
    7575        return $current_site;
    7676    }
Note: See TracChangeset for help on using the changeset viewer.