Opened 13 years ago
Closed 13 years ago
#27672 closed enhancement (duplicate)
Add async argument to wp_register_script and wp_enqueue_script
| Reported by: | nickciske | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Script Loader | Version: | 3.9 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript, performance |
Description
Though defer is a mess and async isn't supported in older IE browsers, it seems like allowing async with a default of false gives plugin and theme authors the choice to use it if it's right for them... without hacky workarounds.
Some background:
http://www.html5rocks.com/en/tutorials/speed/script-loading/
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #12009.