#61995 closed enhancement (fixed)
Remove old IE9 code from svg-painter.js
Reported by: | TobiasBg | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | javascript, performance | Cc: |
Description
wp.svgPainter is a JavaScript function that adjusts the fill
color property and similar of SVG background images in the WordPress admin menu, based on the current admin color scheme.
It is enqueued on every admin page load.
About half of the file's code is a back-compat polyfill of base64 functions for IE9.
WordPress no longer supports IE9 and all modern browsers come with these functions.
The polyfill should be removed to save some kilobytes on every page load of every WordPress admin page visit.
Change History (4)
This ticket was mentioned in PR #7300 on WordPress/wordpress-develop by @TobiasBg.
8 days ago
#1
- Keywords has-patch added; needs-patch removed
#2
@
8 days ago
Related: ticket:46015#comment:19
#3
@
6 days ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 58997:
@SergeyBiryukov commented on PR #7300:
6 days ago
#4
Thanks for the PR! Merged in r58997.
Note: See
TracTickets for help on using
tickets.
Suggested patch for https://core.trac.wordpress.org/ticket/61995