Make WordPress Core


Ignore:
Timestamp:
09/07/2024 10:42:34 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Administration: Remove old IE9 code from wp-admin/js/svg-painter.js.

About half of the file's code was a back-compat polyfill of base64 functions for IE9.

Since WordPress no longer supports IE9 as of version 4.8, and all modern browsers come with these functions, the polyfills can be removed.

Follow-up to [26072], [26131], [26601], [47771].

Props TobiasBg, sabernhardt.
Fixes #61995.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-header.php

    r58419 r58997  
    204204}
    205205
    206 $admin_body_class .= ' no-customize-support no-svg';
     206$admin_body_class .= ' no-customize-support svg';
    207207
    208208if ( $current_screen->is_block_editor() ) {
Note: See TracChangeset for help on using the changeset viewer.