Make WordPress Core


Ignore:
Timestamp:
05/06/2020 08:13:38 PM (5 years ago)
Author:
ocean90
Message:

Administration: Remove any CSS related to Internet Explorer versions 6 – 10.

In WordPress 3.2 support for IE6 was dropped, IE7 followed a few versions later. With the 4.8 release, WordPress officially ended support for Internet Explorer versions 8, 9, and 10. Yet, we still have shipped CSS for the unsupported IE versions....until now! Goodbye to ie.css and star hacks!

  • Removes ie.css and ie style handle.
  • Removes IE specific class names and any related CSS.
  • Drops support for IE8 and older in wp_customize_support_script().
  • Updates compatibility mode for CSS minification to ie11.

Props ayeshrajans, isabel_brison, afercia, netweb, peterwilsoncc, ocean90.
Fixes #17232, #46015.

File:
1 edited

Legend:

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

    r47557 r47771  
    24432443    ?>
    24442444<!DOCTYPE html>
    2445 <!--[if IE 8]>
    2446 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>"
    2447     <?php
    2448     /**
    2449      * Fires inside the HTML tag in the admin header.
    2450      *
    2451      * @since 2.2.0
    2452      */
    2453     do_action( 'admin_xml_ns' );
    2454 
    2455     language_attributes();
    2456     ?>
    2457     >
    2458 <![endif]-->
    2459 <!--[if !(IE 8) ]><!-->
    24602445<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>"
    24612446    <?php
     
    24652450    language_attributes();
    24662451    ?>
    2467     >
    2468 <!--<![endif]-->
     2452>
    24692453<head>
    24702454<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.