Make WordPress Core

Opened 2 weeks ago

Closed 4 days ago

Last modified 4 days ago

#64590 closed enhancement (fixed)

Twenty Twenty-One: Consider removing IE support

Reported by: sabernhardt's profile sabernhardt Owned by: joedolson's profile joedolson
Milestone: 7.0 Priority: normal
Severity: minor Version: 5.6
Component: Bundled Theme Keywords: has-patch commit
Focuses: Cc:

Description

Parent: #64278

Twenty Twenty-One added CSS and polyfill scripts to support IE11, but Microsoft dropped their support for Internet Explorer.

Change History (15)

#1 @sabernhardt
2 weeks ago

According to StatCounter, IE visits increased for July and August last year, but the numbers total about 0.1% most months. (I used the "Download Data (.csv)" link.)

Month IE 11.0 IE 9.0
2024-12 0.09 0.01
2025-01 0.08 0.01
2025-02 0.09 0.01
2025-03 0.1 0.01
2025-04 0.1 0.01
2025-05 0.09 0.01
2025-06 0.11 0.01
2025-07 0.29 0.01
2025-08 0.35 0.02
2025-09 0.14 0.02
2025-10 0.06 0.01
2025-11 0.09 0.01
2025-12 0.08 0.01
2026-01 0.06 0.01

This ticket was mentioned in PR #10857 on WordPress/wordpress-develop by @sabernhardt.


2 weeks ago
#2

  • Keywords has-patch added
  • Removes polyfill scripts, but continues to register their handles.
  • Removes IE-specific styles from the main stylesheet.
  • Removes the separate IE stylesheets from the build process and from enqueuing functions.
  • Removes or replaces contents of the unused files.
  • Removes the is-IE class.

Props: iflairwebtechnologies

Trac 64590

#3 @westonruter
10 days ago

  • Milestone changed from Awaiting Review to 7.0

#4 @joedolson
6 days ago

  • Keywords commit added
  • Owner set to joedolson
  • Status changed from new to accepted

I want to commit this before #64375.

@joedolson commented on PR #10857:


6 days ago
#5

I think this can be committed as is; but I wonder if we want to also remove the contents of the IE skiplink fix on line 470 of functions.php and it's source file?

The function hasn't been in default usage since https://core.trac.wordpress.org/changeset/55861, but I think we could probably remove it entirely as part of this.

@sabernhardt Let me know if you agree.

#6 @joedolson
6 days ago

  • Keywords commit removed

This ticket was mentioned in PR #10913 on WordPress/wordpress-develop by @sabernhardt.


5 days ago
#7

  • Replaces contents of skip-link-focus-fix.js.
  • Outputs an HTML comment if anyone adds twenty_twenty_one_skip_link_focus_fix to the wp_print_footer_scripts action (in a plugin or a child theme).

Trac 64590

#8 @joedolson
5 days ago

  • Keywords commit added

Marking for commit; will commit the original PR, then reopen for the follow-up, pending additional approval.

#9 @joedolson
5 days ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 61628:

Twenty Twenty One: Remove support for Internet Explorer.

No version of Internet Explorer is still supported by WordPress or Microsoft. Usage of Internet Explorer has dropped to about 0.1%.

Remove IE-specific CSS and polyfills.

Props sabernhardt, westonruter, mukesh27, joedolson.
Fixes #64590.

#10 @joedolson
5 days ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-opening for follow-up to remove the IE-specific Skip Link focus fix.

#11 @joedolson
5 days ago

  • Keywords commit removed

#13 @westonruter
4 days ago

  • Keywords commit added

#14 @joedolson
4 days ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 61635:

Twenty Twenty One: Remove Skiplink shim for Internet Explorer.

No version of Internet Explorer is still supported by WordPress or Microsoft. Usage of Internet Explorer has dropped to about 0.1%.

Follow up to [61628] to also remove JS that fixed skip link behavior for IE. Also remove overlooked contents of ie-editor.css.map.

Props sabernhardt, westonruter, joedolson.
Fixes #64590.

@joedolson commented on PR #10913:


4 days ago
#15

Closed in r61635

Note: See TracTickets for help on using tickets.