[wp-trac] [WordPress Trac] #16560: let wp_enqueue_script and wp_enqueue_style use '//' as scheme

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 15 21:28:03 UTC 2011


#16560: let wp_enqueue_script and wp_enqueue_style use '//' as scheme
--------------------------+-----------------------------
 Reporter:  mimecine      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by mimecine):

 I have been using it for quite some time now. I think I first spotted it
 on some page at google's -- of course...
 It is quite nice, especially since the price of certificates are reachable
 for most, and it makes sense to secure even the tiniest blog as long as it
 has it's own ip-address (or running on a webserver that can handle the
 equivalent of vhosting for certificates).

 I actually had a whole night session trying to wrap my head around why
 is_ssl didn't work for me on nginx, but it turned out I had just
 configured nginx wrong...

 Anyway, this patch itself doesn't fix many of the problems with protocol
 mismatch that comes from within wordpress or from plugins, but at least it
 enables you to start using //-urls when you are ready.

 I still have to test // on more browsers though --  pretty sure all modern
 ones support it, including IE from a few years back, but a more
 comprehensive test would be great, just to know.

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


More information about the wp-trac mailing list