[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes

WordPress Trac noreply at wordpress.org
Fri Feb 22 22:58:13 UTC 2019


#12009: Add support for HTML 5 "async" and "defer" attributes
---------------------------+-----------------------------
 Reporter:  Otto42         |       Owner:  azaozz
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:  Future Release
Component:  Script Loader  |     Version:  4.6
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-----------------------------

Comment (by firefly2000):

 I just want to add my support for the comment by @wpnook that, although
 the script_loader_tag filter is an acceptable way to add extra attributes
 like "async" and "defer", it isn't ideal. In my case, I was unable to use
 this filter because it unexpectedly conflicts with a plugin my client
 depends upon (UberMenu, for the record).

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


More information about the wp-trac mailing list