[wp-trac] [WordPress Trac] #27003: Introduce wp_get_network() and begin cleanup of multisite load
WordPress Trac
noreply at wordpress.org
Mon Mar 3 18:59:43 UTC 2014
#27003: Introduce wp_get_network() and begin cleanup of multisite load
----------------------------+------------------------
Reporter: jeremyfelt | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.9
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: needs-testing | Focuses: multisite
----------------------------+------------------------
Changes (by jeremyfelt):
* keywords: needs-testing has-patch => needs-testing
Comment:
General caveat...
The default path segments number for both networks and sites is 1. If you
have a network of `foo.bar/network1/` and a site of
`foo.bar/network1/site1/`, use of the site path segments filter is
required. If 2 is not specified via filter, then `get_site_by_path()` will
try to match `network1` for your site rather than `/network1/site1/`.
Some extra web server config for wp-* to work and likely a sanity check is
required as well.
We *could* think about automatically upping the site path count if
networks have paths, but this seems like something to let lie for a bit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27003#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list