mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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
git-svn-id: https://develop.svn.wordpress.org/trunk@13611 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -101,7 +101,9 @@ function wpmu_current_site() {
|
||||
$current_site->id = defined( 'SITE_ID_CURRENT_SITE' ) ? SITE_ID_CURRENT_SITE : 1;
|
||||
$current_site->domain = DOMAIN_CURRENT_SITE;
|
||||
$current_site->path = $path = PATH_CURRENT_SITE;
|
||||
if ( defined( 'BLOGID_CURRENT_SITE' ) )
|
||||
if ( defined( 'BLOG_ID_CURRENT_SITE' ) )
|
||||
$current_site->blog_id = BLOG_ID_CURRENT_SITE;
|
||||
elseif ( defined( 'BLOGID_CURRENT_SITE' ) ) // deprecated.
|
||||
$current_site->blog_id = BLOGID_CURRENT_SITE;
|
||||
if ( DOMAIN_CURRENT_SITE == $domain )
|
||||
$current_site->cookie_domain = $cookie_domain;
|
||||
|
||||
Reference in New Issue
Block a user