[wp-trac] [WordPress Trac] #56699: Remove IE specific checks from default themes

WordPress Trac noreply at wordpress.org
Fri Oct 14 18:11:33 UTC 2022


#56699: Remove IE specific checks from default themes
---------------------------+---------------------
 Reporter:  desrosj        |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  6.2
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+---------------------

Comment (by neychok):

 Hey guys, I checked the TwentyEleven theme and we don't actually enqueue
 any IE-related assets (or at least I didn't see such) rather we directly
 add it with a script tag in the header.

 I wasn't sure what to do in this case so completely removed all IE-related
 code from the theme in the PR I just submitted.

 I am willing to work on this task but I am not entirely sure how to
 proceed.

 Should I:
 - Completely remove all IE code
 - Just change `enqueue_` to `register_` where possible and leave the rest,
 like in the case with TwentyEleven
 - Remove all IE code except where we have `enqueue_` that's going to be
 changed to `register_` instead.

 The PR is just an example.

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


More information about the wp-trac mailing list