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

WordPress Trac noreply at wordpress.org
Thu Oct 16 19:59:27 UTC 2025


#63821: Proposal: Drop support for IE conditional scripts and styles
-------------------------------------------------+-------------------------
 Reporter:  jonsurrell                           |       Owner:  joedolson
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  General                              |     Version:  4.8
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note needs-testing has-test-info reviewing     |  javascript, css
-------------------------------------------------+-------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60948" 60948]:
 {{{
 #!CommitTicketReference repository="" revision="60948"
 General: Remove support for IE conditional comments.

 Remove the ability to enqueue scripts and styles wrapped in IE conditional
 comment tags. Conditional comment support was removed from IE in version
 10 in 2012, and no core supported browser renders them in any way. IE9 has
 global usage approaching zero. WordPress dropped support for IE10 and
 below in version 4.8.

 Patch adds a deprecation notice if the conditional data argument is added.
 Scripts and styles are not printed, and neither are their dependencies if
 they are not required by other non-conditional scripts. Conditional
 dependencies are removed from core enqueues.

 Props jonsurrell, joedolson, shailu25, siliconforks, dmsnell, sabernhardt,
 rollybueno.
 Fixes #63821.
 }}}

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


More information about the wp-trac mailing list