[wp-trac] [WordPress Trac] #21153: supporting protocol-relative urls

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 4 11:04:29 UTC 2012


#21153: supporting protocol-relative urls
-------------------------+------------------------------
 Reporter:  nagyv        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.3.2
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by georgestephanis):

 I don't think you're tracing the code far back enough ... WP_CONTENT_URL
 is defined partially off of get_option( 'siteurl' ); -- which currently
 requires there to be a http:// or https://

 Your best option with this may be to enable defining that as //example.com
 rather than http://example.com or https://example.com

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21153#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list