[wp-trac] [WordPress Trac] #24432: Multisite: 'http' $scheme not working in get_admin_url(), but works in get_site_url()
WordPress Trac
noreply at wordpress.org
Mon May 27 07:11:41 UTC 2013
#24432: Multisite: 'http' $scheme not working in get_admin_url(), but works in
get_site_url()
--------------------------+-----------------------------
Reporter: Just a guy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.5.1
Severity: normal | Keywords:
--------------------------+-----------------------------
get_site_url() wp-includes/link-template.php, line 1964
get_admin_url() wp-includes/link-template.php, line 2006
In multisite specifying 'http' $scheme in get_admin_url() has no effect,
links are still served as https. Yet, specifying 'http' $scheme in
get_site_url works fine.
As a workaround, use: get_site_url($blog_id, 'wp-admin/', 'http') until
get_admin_url fixed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24432>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list