[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes
WordPress Trac
noreply at wordpress.org
Thu Apr 9 07:05:54 UTC 2020
#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 vanaf1979):
@rogeriomoreira Maybe their are other (future) attributes. So instead of
my patch we could consider a function wp_script_attributes(array('attr' =>
value)). So we can extend it's functionality when other attributes come on
the scene!?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12009#comment:67>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list