[wp-trac] [WordPress Trac] #13406: $current_site global consistency problem
WordPress Trac
wp-trac at lists.automattic.com
Sat May 15 22:41:17 UTC 2010
#13406: $current_site global consistency problem
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: lowest | Milestone: 3.0
Component: Multisite | Version: 3.0
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
While beta-testing I ran over this and I ask myself if this was intended
by design:
ms-settings.php #51:
{{{$current_site = wpmu_current_site();}}}
ms-load.php #110ff:
{{{
function wpmu_current_site() {
global $wpdb, $current_site, $domain, $path, $sites,
$cookie_domain;
[...]
return $current_site;
}
[...]
}
}}}
I've attached a patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13406>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list