Opened 10 years ago
Closed 6 years ago
#39838 closed defect (bug) (wontfix)
Twenty Fifteen: Use wp_enqueue_script() for html5.js
| Reported by: | rinkuyadav999 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 4.2 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
twentyfifteen: script file should use wp_enqueue_script and translation issue.
Attachments (1)
Change History (6)
#1
@
10 years ago
- Component Themes → Bundled Theme
- Focuses performance removed
- Summary twentyfifteen TRT sniff issues → Twenty Fifteen: Use wp_enqueue_script() for html5.js
#2
@
10 years ago
Using wp_enqueue_script() for html5.js was previously suggested in #30810, but that was before conditional comments for JS became available (#16024), so we could probably take another look.
There are backwards compatibility concerns though, conditional comments for JS are only available in WordPress 4.2+, and Twenty Fifteen should remain compatible with WordPress 4.1.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The "One thought on ..." issue should be resolved in #39660.