[wp-trac] [WordPress Trac] #38550: Remove jQuery dependency from wp-custom-header.js

WordPress Trac noreply at wordpress.org
Mon Oct 31 05:09:42 UTC 2016


#38550: Remove jQuery dependency from wp-custom-header.js
--------------------------+-------------------------
 Reporter:  joemcgill     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-------------------------

Comment (by peterwilsoncc):

 Related #38585.

 `wp-custom-header.js` doesn't support browsers without `addeventlistener`
 support. The dependency can be removed and custom events used wihout
 reducing browser support. http://caniuse.com/#feat=customevent

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


More information about the wp-trac mailing list