[wp-trac] [WordPress Trac] #52098: Twenty Twenty-One: IE specific polyfills are loaded in all browsers

WordPress Trac noreply at wordpress.org
Thu Dec 17 06:27:13 UTC 2020


#52098: Twenty Twenty-One: IE specific polyfills are loaded in all browsers
-----------------------------+--------------------------------------
 Reporter:  ismail.elkorchi  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Bundled Theme    |     Version:  5.6
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  javascript, performance
-----------------------------+--------------------------------------

Comment (by poena):

 The cache problems are known and different solutions were discussed. Using
 {{{$is_IE}}} was still considered the best solution for the CSS.

 We should use the best solution for both the polyfill and the CSS. The
 best solutions are not necessarily the same for both, but I have never
 used / am not familiar with
 https://developer.wordpress.org/reference/functions/wp_get_script_polyfill/

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


More information about the wp-trac mailing list