Make WordPress Core


Ignore:
Timestamp:
03/06/2010 08:01:32 PM (15 years ago)
Author:
nacin
Message:

More network.php refinements. Bring wp-config and htaccess inline. Rename BLOGID_CURRENT_SITE to BLOG_ID_CURRENT_SITE for consistency with SITE_ID_CURRENT_SITE. see #11816

File:
1 edited

Legend:

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

    r13575 r13611  
    102102        $current_site->domain = DOMAIN_CURRENT_SITE;
    103103        $current_site->path   = $path = PATH_CURRENT_SITE;
    104         if ( defined( 'BLOGID_CURRENT_SITE' ) )
     104        if ( defined( 'BLOG_ID_CURRENT_SITE' ) )
     105            $current_site->blog_id = BLOG_ID_CURRENT_SITE;
     106        elseif ( defined( 'BLOGID_CURRENT_SITE' ) ) // deprecated.
    105107            $current_site->blog_id = BLOGID_CURRENT_SITE;
    106108        if ( DOMAIN_CURRENT_SITE == $domain )
Note: See TracChangeset for help on using the changeset viewer.