mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@47771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2442,21 +2442,6 @@ function _wp_admin_html_begin() {
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<!--[if IE 8]>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>"
|
||||
<?php
|
||||
/**
|
||||
* Fires inside the HTML tag in the admin header.
|
||||
*
|
||||
* @since 2.2.0
|
||||
*/
|
||||
do_action( 'admin_xml_ns' );
|
||||
|
||||
language_attributes();
|
||||
?>
|
||||
>
|
||||
<![endif]-->
|
||||
<!--[if !(IE 8) ]><!-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>"
|
||||
<?php
|
||||
/** This action is documented in wp-admin/includes/template.php */
|
||||
@@ -2464,8 +2449,7 @@ function _wp_admin_html_begin() {
|
||||
|
||||
language_attributes();
|
||||
?>
|
||||
>
|
||||
<!--<![endif]-->
|
||||
>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" />
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user