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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 28 21:33:57 UTC 2012


#16560: let wp_enqueue_script and wp_enqueue_style use '//' as scheme
-------------------------------------------------+-------------------------
 Reporter:  mimecine                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  General                              |  Release
 Severity:  normal                               |     Version:  3.1
 Keywords:  has-patch 3.4-early needs-unit-      |  Resolution:
  tests commit                                   |
-------------------------------------------------+-------------------------

Comment (by evansolomon):

 Replying to [comment:16 nacin]:
 > Looks good. Would like some test coverage here if possible.

 16560.diff works for me using r20310 for (a modified version of) the
 Optimizely plugin we use on WordPress.com.

 Current version:
 https://gist.github.com/1275892/a8a037d263ba897e59e7f058a436696e892f93c9

 Diff for test using the 16560.diff:
 https://gist.github.com/8c4ae177a258bbf345ac

 Both work as expected.

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


More information about the wp-trac mailing list