Closed herrvigg closed 1 year ago
The change on the browserlists
makes the JS code more compact and more modern e.g. with const
(it was about time...).
I hope this won't break some old user configs but it is consistent with WP developer configuration that appeared in WP5.8.
Perhaps it's clearer if I make this as the required WP version though we don't need it strictly.
I reverted the change on the new browserlist, it may break some old configurations beside IE. We'll take it in a separate patch, maybe for next major release.
WordPress abandoned the support of IE with WP5.8 in July 2021. https://wordpress.org/news/2021/05/dropping-support-for-internet-explorer-11/
Though we don't require that version of WP, it's time to abandon that legacy. See also this very old ticket: #32.
1) Remove workaround for
RegExp:@@split
See also https://caniuse.com/mdn-javascript_builtins_regexp_--split~2) Update our
browserslist
for JS to be synced with WordPress https://github.com/WordPress/wordpress-develop/blob/trunk/package.json~3) Add more debug info about browser in the troubleshooting section.