[wp-trac] [WordPress Trac] #23221: Multisite in subdirectory with root site address
WordPress Trac
noreply at wordpress.org
Tue Mar 5 23:03:40 UTC 2013
#23221: Multisite in subdirectory with root site address
----------------------------+------------------------------
Reporter: grapplerulrich | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+------------------------------
Comment (by odisant):
Problem seems to be in network_site_url() in link-template.php. Changing
line 2112 from:
$url = set_url_scheme( 'http://' . $current_site->domain .
$current_site->path, $scheme );
to:
$url = set_url_scheme( trailingslashit(site_url()), $scheme );
Seems to resolve the problem.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23221#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list