Make WordPress Core


Ignore:
Timestamp:
08/29/2024 06:04:02 AM (9 months ago)
Author:
swissspidy
Message:

Script Loader: Remove importmap polyfill.

The polyfill was added in [57492], but all browsers supported by WordPress already support import maps.

This not only disables the polyfill, but completely removes it as it was only added recently and there is no usage outside of core.

Props swissspidy, desrosj, luisherranz, gziolo.
Fixes #60970.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r58932 r58952  
    9797        'wp-polyfill-fetch',
    9898        'wp-polyfill-formdata',
    99         'wp-polyfill-importmap',
    10099        'wp-polyfill-node-contains',
    101100        'wp-polyfill-url',
     
    123122        'wp-polyfill-inert'           => '3.1.2',
    124123        'wp-polyfill'                 => '3.15.0',
    125         'wp-polyfill-importmap'       => '1.8.2',
    126124    );
    127125
Note: See TracChangeset for help on using the changeset viewer.