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

WordPress Trac noreply at wordpress.org
Fri Jun 27 03:00:50 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:  Awaiting
Component:  Script Loader                        |  Review
 Severity:  normal                               |     Version:
 Keywords:  dev-feedback has-patch reporter-     |  Resolution:
  feedback 2nd-opinion needs-testing             |     Focuses:
-------------------------------------------------+-------------------------
Changes (by jtsternberg):

 * keywords:  dev-feedback => dev-feedback has-patch reporter-feedback 2nd-
     opinion needs-testing


Comment:

 With 22249.diff, you would be able to modify/remove the default
 `type="text/javascript"` as well as add your own attributes (like
 `async="async"`).

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


More information about the wp-trac mailing list