[wp-trac] [WordPress Trac] #27927: Multisite www gets treated as a subdomain
WordPress Trac
noreply at wordpress.org
Sun Apr 20 21:44:50 UTC 2014
#27927: Multisite www gets treated as a subdomain
--------------------------------+------------------------
Reporter: Ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9.1
Component: Networks and Sites | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------
Changes (by jeremyfelt):
* keywords: => has-patch
Comment:
[https://core.trac.wordpress.org/attachment/ticket/27927/27927.2.diff
27927.2.diff] checks for `www` and searches for both variants in the
domain if it exists. This adds a bit more complexity to
`get_site_by_path()` as we now deal with:
* domain, 1 path
* domain + www, 1 path
* 1 domain, multiple possible paths
* domain + www, multiple possible paths
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27927#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list