[wp-trac] [WordPress Trac] #55126: Twenty Sixteen: Replace frontend jQuery usage with vanilla JS

WordPress Trac noreply at wordpress.org
Thu Feb 17 21:00:51 UTC 2022

#55126: Twenty Sixteen: Replace frontend jQuery usage with vanilla JS
 Reporter:  sergiomdgomes  |       Owner:  sergiomdgomes
     Type:  enhancement    |      Status:  assigned
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  javascript

Comment (by flixos90):

 @sergiomdgomes Given that WP core has dropped IE11 support, I would think
 we don't need to support it here anymore. I would think WP core includes
 WP core themes in that definition?

 Regarding your suggestion of relying on `wp_get_script_polyfill`, if we
 still wanted to be a bit more graceful here, we could potentially use it,
 but only if the function exists in the core version used. That would
 essentially mean either the site owner has to update their WordPress
 version when they update the theme, or they lose IE11 support, which is a
 tradeoff to make. I personally think that's still a half-baked solution
 though, and I would prefer to follow core's decision to drop support for

 @desrosj Can you provide any insight what the decision to drop IE support
 means for themes in this regard?

Ticket URL: <https://core.trac.wordpress.org/ticket/55126#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list