[wp-trac] [WordPress Trac] #53078: Stop loading polyfills specific to Internet Explorer
WordPress Trac
noreply at wordpress.org
Mon May 10 15:54:54 UTC 2021
#53078: Stop loading polyfills specific to Internet Explorer
---------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+---------------------
Comment (by desrosj):
Was revisiting this today and realized the current approach in my PR will
not work.
The scripts would no longer be registered with that approach. The scripts
should continue to be available for plugins and themes to enqueue if their
code requires these polyfills. This is important because if anyone is
currently defining these as dependencies for their custom code, that code
would stop loading on update.
I'm leaning towards two options:
- Remove the inline script attached to `wp-polyfill` in 5.8. This would
stop the polyfills from loading but would allow someone else to enqueue or
load them.
- Wait and remove these other polyfills until `wp-polyfill` is evaluated
in #52941.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53078#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list