[wp-trac] [WordPress Trac] #60348: Script Modules API: Add import map polyfill for older browsers.

WordPress Trac noreply at wordpress.org
Tue Apr 9 13:42:31 UTC 2024


#60348: Script Modules API: Add import map polyfill for older browsers.
-------------------------------------------------+-------------------------
 Reporter:  cbravobernal                         |       Owner:  gziolo
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.5
Component:  Script Loader                        |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  add-to-field-guide                             |
-------------------------------------------------+-------------------------

Comment (by gziolo):

 > Was this specifically added for Safari < 15? Do we even support that?

 As far as I remember it could be tested in Safari 14 but the same issue
 existed for other browsers as listed in https://caniuse.com/mdn-
 html_elements_script_type_importmap. The browser support is at 90%
 overall, but I'm not entirely sure how to compare that with what WordPress
 officially supports.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60348#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list