[wp-trac] [WordPress Trac] #39838: Twenty Fifteen: Use wp_enqueue_script() for html5.js

WordPress Trac noreply at wordpress.org
Fri Feb 10 17:57:08 UTC 2017


#39838: Twenty Fifteen: Use wp_enqueue_script() for html5.js
---------------------------+------------------------------
 Reporter:  rinkuyadav999  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by SergeyBiryukov):

 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.

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


More information about the wp-trac mailing list