[wp-trac] [WordPress Trac] #63821: Proposal: Drop support for IE conditional scripts and styles

WordPress Trac noreply at wordpress.org
Sat Aug 16 16:38:36 UTC 2025


#63821: Proposal: Drop support for IE conditional scripts and styles
--------------------------------------+------------------------------
 Reporter:  jonsurrell                |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  General                   |     Version:  4.8
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript, css
--------------------------------------+------------------------------

Comment (by joedolson):

 @jonsurrell I considered a doing it wrong or deprecation notice, but was
 undecided whether it was necessary - with this implementation, we're just
 ignoring the information. I think that's a good point for discussion.

 @siliconforks there's actually no need to remove this from themes first;
 the implementation doesn't require it. Any scripts/styles with conditional
 flags are ignored; themes can remove them on their own schedule.

 Note: I'm aware the tests are failing, in the initial commit I left them
 partially modified to ensure that old tests would fail as expected.

 Adding an early exit in `::add_data()` makes sense to me.

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


More information about the wp-trac mailing list