[wp-trac] [WordPress Trac] #21077: Custom port patch for MultiSite
WordPress Trac
noreply at wordpress.org
Tue Jan 8 20:38:47 UTC 2013
#21077: Custom port patch for MultiSite
-------------------------------------------------+-------------------------
Reporter: djzone | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Multisite | Review
Severity: major | Version: 3.4
Keywords: has-patch needs-testing dev- | Resolution:
feedback |
-------------------------------------------------+-------------------------
Changes (by F J Kaiser):
* keywords: has-patch => has-patch needs-testing dev-feedback
Comment:
Scribus idea with parse_url is likely the route to go. Patch following
that will
* also takes the absence of {{{$_SERVER['HTTP_HOST']}}} into account and
switch to {{{$_SERVER['SERVER_NAME']}}} for reliability and those edge
cases
* takes the domain via {{{parse_url()}}} and {{{PHP_URL_PATH}}}
* still falls back to the default {{{wp_die()}}}-message in case somehow
couldn't get rid of the port
Patch needs more intense testing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21077#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list