Opened 15 years ago
Closed 15 years ago
#13406 closed defect (bug) (wontfix)
$current_site global consistency problem
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | lowest | |
Severity: | normal | Version: | 3.0 |
Component: | Multisite | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
I agree with this.