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

WordPress Trac noreply at wordpress.org
Mon Jan 9 23:30:43 UTC 2023


#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:  needs-patch    |     Focuses:
---------------------------+---------------------
Changes (by audrasjb):

 * keywords:  has-patch => needs-patch


Comment:

 Replying to [comment:3 sabernhardt]:
 > **Option 3:** Switch the `wp_enqueue_` functions to `wp_register_` for
 any IE-related files.
 > - Maintains the handles, source references, etc.
 > - Keeps all IE-specific files within the theme package to avoid errors.
 > - Requires site admins to ''opt in'' to loading them in the theme.

 Yes this is definitely our best option yet 👍
 This way, we don't introduce any serious backwards compatibility issue to
 existing child themes.

 @neychok thanks for the T11 PR!

 Re-adding `needs-patch` as we'll need a patch for each bundled theme :)

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


More information about the wp-trac mailing list