[wp-trac] [WordPress Trac] #25316: Inconsistent behavior in wpmu_current_site() when using persistent object cache
WordPress Trac
noreply at wordpress.org
Fri Sep 13 18:35:44 UTC 2013
#25316: Inconsistent behavior in wpmu_current_site() when using persistent object
cache
--------------------------+------------------------------
Reporter: gradyetc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.0
Severity: minor | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by jeremyfelt):
Replying to [comment:4 gradyetc]:
> It derives $blogname from $path. If it isn't set appropriately by
wpmu_current_site when called on line 48, it messes up everything that
tries to populate $current_blog after it.
I'm still trying to follow. `$path` and `$domain` are set before
`wpmu_current_site()` based on `$_SERVER['REQUEST_URI']` and
`$_SERVER['HTTP_HOST']` (starting on
[http://core.trac.wordpress.org/browser/trunk/src/wp-includes/ms-
settings.php#L25 line 25]). Are they not matching what should be in the
`$current_blog` after `wpmu_current_site()` is finished?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25316#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list