[wp-trac] [WordPress Trac] #22249: Add ability to set or remove attributes on enqueued scripts and styles.

WordPress Trac noreply at wordpress.org
Tue Feb 23 05:05:14 UTC 2016


#22249: Add ability to set or remove attributes on enqueued scripts and styles.
----------------------------------------+------------------------
 Reporter:  ryanve                      |       Owner:  chriscct7
     Type:  feature request             |      Status:  assigned
 Priority:  normal                      |   Milestone:  4.5
Component:  Script Loader               |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------

Comment (by ericlewis):

 Replying to [comment:29 westonruter]:
 > @ericlewis can `get_script_src()` use `esc_url_raw()` instead of
 `esc_url()` when it returns?

 Sounds good. Added in attachment:22249.5.diff

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22249#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list