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

WordPress Trac noreply at wordpress.org
Wed Oct 12 22:46:46 UTC 2016


#22249: Add ability to set or remove attributes on enqueued scripts and styles.
---------------------------------------------+-----------------------------
 Reporter:  ryanve                           |       Owner:
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  Future Release
Component:  Script Loader                    |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  needs-refresh early needs-patch  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by joe_bopper):

 It was also on line 285 of class.wp-styles.php. W3C reference for what
 can't be used in an attribute name is here:
 [https://html.spec.whatwg.org/multipage/syntax.html#attributes-2].

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


More information about the wp-trac mailing list