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

WordPress Trac noreply at wordpress.org
Tue Dec 2 09:29:09 UTC 2014


#22249: Add ability to set or remove attributes on enqueued scripts and styles.
-------------------------------------------------+-------------------------
 Reporter:  ryanve                               |       Owner:
     Type:  feature request                      |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Script Loader                        |  Release
 Severity:  normal                               |     Version:
 Keywords:  dev-feedback has-patch reporter-     |  Resolution:
  feedback 2nd-opinion needs-testing             |     Focuses:
-------------------------------------------------+-------------------------

Comment (by alex-ye):

 Updating @camdensegal patch..
 - Style media attribute is always a string.
 - Use the double-quotation strings only when necessary.

 Still needs testing...

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


More information about the wp-trac mailing list