mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-28 10:29:25 +00:00
The `twenty-twenty-one-ie11-polyfills` script now has a `null` source, and the new `twenty-twenty-one-ie11-polyfills-asset` (which points to the actual `polyfills.js` source) will be loaded only if IE is detected by through the use of `wp_get_script_polyfill()`. Because the original script name remains the same, this change is backwards compatible with any code registering `twenty-twenty-one-id11-polyfills` as a script dependency. Props poena, ismail.elkorchi, peterwilsoncc. Merges [49865] to the 5.6 branch. Fixes #52098. Built from https://develop.svn.wordpress.org/branches/5.6@49868 git-svn-id: http://core.svn.wordpress.org/branches/5.6@49587 1a063a9b-81f0-0310-95a4-ce76da25c4cd