[wp-trac] [WordPress Trac] #56699: Remove IE specific checks from default themes
WordPress Trac
noreply at wordpress.org
Mon Jan 23 08:01:57 UTC 2023
#56699: Remove IE specific checks from default themes
---------------------------+-----------------------------
Reporter: desrosj | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+-----------------------------
Changes (by sabernhardt):
* milestone: 6.2 => Future Release
Comment:
#57031 suggested the 6.3 cycle for removing other IE browser support, and
I would like both changes announced in the same news post and/or dev note.
For the Twenty Eleven patch:
1. If we ''only'' make the changes to Twenty Eleven's `header.php`
template file, that should minimize what breaks. If some people really
want to maintain support in their sites, then they could do that with a
different header template.
2. We could be somewhat selective with the proposed CSS revisions.
WordPress admin has not supported older IE versions for years, so `editor-
style.css` should not need to accommodate them. Also, the gradients' solid
color fallbacks would make their absence very minor. And the negative
padding values probably never worked (#46771).
3. Removing the other IE-related CSS could reduce the front-end
stylesheets by about 1 KB. The difference is small enough to consider
keeping those for possible continued use in child themes (which I expect
would be very rare).
4. To avoid any `404` errors, please _**keep a file**_ at `js/html5.js`.
The script is not particularly large at about 2.4 KB, so it could stay
intact. If it is worth removing from the package, however, its contents
could be replaced with a single-line comment such as "This theme does not
support old versions of Microsoft Internet Explorer anymore."
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56699#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list