From 3d31284c5e658f1fd31b5758b4a18a27778001cb Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Wed, 6 May 2020 20:13:38 +0000 Subject: [PATCH] =?UTF-8?q?Administration:=20Remove=20any=20CSS=20related?= =?UTF-8?q?=20to=20Internet=20Explorer=20versions=206=20=E2=80=93=2010.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Gruntfile.js | 2 +- src/js/_enqueues/admin/common.js | 3 +- src/js/_enqueues/lib/admin-bar.js | 11 - src/wp-admin/admin-header.php | 1 - src/wp-admin/css/admin-menu.css | 19 - src/wp-admin/css/colors/_admin.scss | 3 +- src/wp-admin/css/common.css | 19 - src/wp-admin/css/customize-nav-menus.css | 4 - src/wp-admin/css/dashboard.css | 22 - src/wp-admin/css/edit.css | 5 - src/wp-admin/css/ie.css | 764 ----------------------- src/wp-admin/css/install.css | 4 - src/wp-admin/css/list-tables.css | 16 - src/wp-admin/css/revisions.css | 13 - src/wp-admin/css/themes.css | 9 - src/wp-admin/includes/media.php | 1 - src/wp-admin/includes/template.php | 18 +- src/wp-admin/includes/update-core.php | 5 + src/wp-admin/upgrade.php | 5 +- src/wp-includes/class-wp-admin-bar.php | 13 +- src/wp-includes/css/admin-bar.css | 98 +-- src/wp-includes/css/buttons.css | 3 - src/wp-includes/media-template.php | 6 - src/wp-includes/script-loader.php | 6 +- src/wp-includes/theme.php | 34 +- src/wp-login.php | 7 +- 26 files changed, 28 insertions(+), 1063 deletions(-) delete mode 100644 src/wp-admin/css/ie.css diff --git a/Gruntfile.js b/Gruntfile.js index cb263c8bd8..7af9090a1d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -413,7 +413,7 @@ module.exports = function(grunt) { }, cssmin: { options: { - compatibility: 'ie7' + compatibility: 'ie11' }, core: { expand: true, diff --git a/src/js/_enqueues/admin/common.js b/src/js/_enqueues/admin/common.js index 75c77b3bac..4b287f6cd5 100644 --- a/src/js/_enqueues/admin/common.js +++ b/src/js/_enqueues/admin/common.js @@ -474,7 +474,6 @@ $document.ready( function() { currentPage = pageInput.val(), isIOS = /iPhone|iPad|iPod/.test( navigator.userAgent ), isAndroid = navigator.userAgent.indexOf( 'Android' ) !== -1, - isIE8 = $( document.documentElement ).hasClass( 'ie8' ), $adminMenuWrap = $( '#adminmenuwrap' ), $wpwrap = $( '#wpwrap' ), $adminmenu = $( '#adminmenu' ), @@ -1060,7 +1059,7 @@ $document.ready( function() { var windowPos = $window.scrollTop(), resizing = ! event || event.type !== 'scroll'; - if ( isIOS || isIE8 || $adminmenu.data( 'wp-responsive' ) ) { + if ( isIOS || $adminmenu.data( 'wp-responsive' ) ) { return; } diff --git a/src/js/_enqueues/lib/admin-bar.js b/src/js/_enqueues/lib/admin-bar.js index 537df2d98f..ea69ae7efe 100644 --- a/src/js/_enqueues/lib/admin-bar.js +++ b/src/js/_enqueues/lib/admin-bar.js @@ -22,7 +22,6 @@ shortlink, skipLink, mobileEvent, - fontFaceRegex, adminBarSearchInput, i; @@ -37,7 +36,6 @@ shortlink = document.getElementById( 'wp-admin-bar-get-shortlink' ); skipLink = adminBar.querySelector( '.screen-reader-shortcut' ); mobileEvent = /Mobile\/.+Safari/.test( navigator.userAgent ) ? 'touchstart' : 'click'; - fontFaceRegex = /Android (1.0|1.1|1.5|1.6|2.0|2.1)|Nokia|Opera Mini|w(eb)?OSBrowser|webOS|UCWEB|Windows Phone OS 7|XBLWP7|ZuneWP7|MSIE 7/; // Remove nojs class after the DOM is loaded. removeClass( adminBar, 'nojs' ); @@ -111,15 +109,6 @@ window.scrollBy( 0, -32 ); } - // Add no-font-face class to body if needed. - if ( - navigator.userAgent && - fontFaceRegex.test( navigator.userAgent ) && - ! hasClass( document.body, 'no-font-face' ) - ) { - addClass( document.body, 'no-font-face' ); - } - // Clear sessionStorage on logging out. if ( adminBarLogout ) { adminBarLogout.addEventListener( 'click', emptySessionStorage ); diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index 75ff053154..e1bc7998eb 100644 --- a/src/wp-admin/admin-header.php +++ b/src/wp-admin/admin-header.php @@ -75,7 +75,6 @@ _wp_admin_html_begin(); li.current > a.current:after { #adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, #adminmenu li:hover div.wp-menu-image:before, #adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before, -.ie8 #adminmenu li.opensub div.wp-menu-image:before { +#adminmenu li.opensub div.wp-menu-image:before { color: $menu-current-icon; } diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index ab3a4c727f..3d0dacf277 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -279,10 +279,6 @@ a:focus .media-icon img, outline: 1px solid transparent; } -.ie8 a:focus { - outline: #5b9dd9 solid 1px; -} - #adminmenu a:focus { box-shadow: none; /* Only visible in Windows High Contrast mode */ @@ -1441,10 +1437,6 @@ div.error p, 0 0 2px 1px rgba(30, 140, 190, 0.8); } -.ie8 .notice-dismiss:focus { - outline: 1px solid #5b9dd9; -} - .notice-success, div.updated { border-left-color: #46b450; @@ -1766,10 +1758,6 @@ form.upgrade .hint { font-weight: 600; } -.ie8 #screen-options-wrap legend { - color: inherit; -} - .metabox-prefs label { display: inline-block; padding-right: 15px; @@ -2247,13 +2235,6 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ clear: both; } -.ie8 .nav-tab-wrapper { - /* contain floats establishing a new block formatting context */ - display: inline-block; - width: 100%; - vertical-align: top; -} - /*------------------------------------------------------------------------------ 26.0 - Misc ------------------------------------------------------------------------------*/ diff --git a/src/wp-admin/css/customize-nav-menus.css b/src/wp-admin/css/customize-nav-menus.css index 145938252e..5ce9eb46bb 100644 --- a/src/wp-admin/css/customize-nav-menus.css +++ b/src/wp-admin/css/customize-nav-menus.css @@ -475,10 +475,6 @@ -moz-osx-font-smoothing: grayscale; } -.ie8 .menu-item-bar .item-delete:before { - top: -10px; -} - .menu-item-bar .item-delete:hover, .menu-item-bar .item-delete:focus { box-shadow: none; diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 2784b804d0..457aa9fc19 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -38,24 +38,6 @@ border: none !important; } -.ie8 #wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; -} - -.ie8 #wpbody-content #dashboard-widgets #postbox-container-2, -.ie8 #wpbody-content #dashboard-widgets #postbox-container-3, -.ie8 #wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - width: 50.5%; -} - -.ie8 #dashboard-widgets #postbox-container-3 .empty-container, -.ie8 #dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - #dashboard-widgets-wrap { overflow: hidden; margin: 0 -8px; @@ -180,10 +162,6 @@ float: left; } -.ie8 .welcome-panel .welcome-panel-column { - min-width: 230px; -} - .welcome-panel .welcome-panel-column:first-child { width: 36%; } diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 1c2b3336ca..77e6f75b06 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -635,11 +635,6 @@ form#tags-filter { max-width: 100%; } -.ie8 #poststuff .inside #parent_id, -.ie8 #poststuff .inside #page_template { - width: 250px; -} - .post-attributes-label-wrapper { margin-bottom: 0.5em; } diff --git a/src/wp-admin/css/ie.css b/src/wp-admin/css/ie.css deleted file mode 100644 index 00853ab7c8..0000000000 --- a/src/wp-admin/css/ie.css +++ /dev/null @@ -1,764 +0,0 @@ -/* Fixes for IE 7 bugs */ - -#dashboard-widgets form .input-text-wrap input, -#dashboard-widgets form .textarea-wrap textarea { - width: 99%; -} - -#dashboard-widgets form #title { - width: 98%; -} - -#wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; -} - -#wpbody-content #dashboard-widgets #postbox-container-2, -#wpbody-content #dashboard-widgets #postbox-container-3, -#wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - width: 50.5%; -} - -#dashboard-widgets #postbox-container-3 .empty-container, -#dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - -.wp-editor-wrap .wp-editor-tools, -.wp-editor-wrap .wp-switch-editor, -.wp-editor-wrap .wp-editor-tabs, -.wp-editor-wrap .wp-editor-container { - zoom: 100%; -} - -.wp-editor-wrap .wp-editor-container textarea.wp-editor-area { - width: 97%; -} - -#post-body.columns-2 #postbox-container-1 { - padding-left: 19px; -} - -.welcome-panel .wp-badge { - position: absolute; -} - -.welcome-panel .welcome-panel-column:first-child { - width: 35%; -} - -#adminmenuback { - left: 0; - background-image: none; -} - -#adminmenuwrap { - position: static; -} - -#adminmenu { - position: relative; -} - -#adminmenu, -#adminmenu a { - cursor: pointer; -} - -#adminmenu li.wp-menu-separator, -#adminmenu li.wp-menu-separator-last { - font-size: 1px; - line-height: 1; -} - -#adminmenu a.menu-top { - border-bottom: 0 none; - border-top: 1px solid #ddd; -} - -#adminmenu .separator { - font-size: 1px; - line-height: 1px; -} - -#adminmenu .wp-submenu { - left: 110px; -} - -#adminmenu .wp-submenu ul { - margin: 0; -} - -.folded #wpcontent, -.folded #wpfooter { - margin-left: 170px; -} - -.folded #adminmenuback, -.folded #adminmenuwrap, -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 150px; -} - -.folded #adminmenu .wp-submenu { - border-top-color: transparent; -} - -.folded #adminmenu .wp-menu-name { - display: block; -} - -.folded #adminmenu .wp-submenu.sub-open, -.folded #adminmenu .opensub .wp-submenu { - left: 110px; -} - -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - top: -1px; - position: relative; -} - -.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { - background-color: transparent; -} - -#adminmenu .wp-submenu .wp-submenu-head { - border-top-color: #ddd; -} - -.folded #adminmenu .wp-submenu ul { - margin-left: 5px; -} - -#adminmenu li.menu-top { - margin-bottom: -2px; -} - -#adminmenu .wp-menu-arrow { - display: none !important; -} - -.js.folded #adminmenu li.menu-top { - display: block; - zoom: 100%; -} - -ul#adminmenu { - z-index: 99; -} - -#adminmenu li.menu-top a.menu-top { - min-width: auto; - width: auto; -} - -#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu { - font-style: normal; -} - -#wpcontent #adminmenu .wp-submenu li { - padding: 0; -} - -#adminmenu li.wp-has-current-submenu .wp-submenu { - left: -40px; -} - -#adminmenu .wp-menu-image { - display: none !important; -} - -#adminmenu a.menu-top .wp-menu-name { - padding-left: 8px; -} - -#collapse-menu { - line-height: 23px; -} - -#wpadminbar .ab-comments-icon { - padding-top: 7px; -} - - -.theme-browser .theme { - width: 30%; - margin: 0 3% 4% 0; - cursor: auto; -} - -.theme-browser .theme:hover, -.theme-browser .theme:focus { - cursor: auto; -} - -.theme-browser .theme .theme-screenshot { - height: 180px; -} - -.theme-browser .theme .theme-actions { - position: static; - background-color: #e8e8e8; -} - -.theme-browser .theme .more-details { - display: none; -} - -.plugins td, -.plugins th { - border-top: 1px solid #ddd; -} - -table.fixed th, -table.fixed td { - border-top: 1px solid #ddd; -} - -#wpbody-content input.button, -#wpbody-content input.button-primary { - overflow: visible; -} - -#dashboard-widgets h3 a { - height: 14px; - line-height: 14px; -} - -#dashboard_browser_nag { - color: #fff; -} - -#dashboard_browser_nag .browser-icon { - position: relative; -} - -.tablenav-pages .current-page { - vertical-align: middle; -} - -#wpbody-content .postbox { - border: 1px solid #ddd; -} - -#wpbody-content .postbox .hndle { - margin-bottom: -1px; -} - -.major-publishing-actions, -.wp-submenu, -.wp-submenu li, -#template, -#template div, -#editcat, -#addcat { - zoom: 100%; -} - -.wp-menu-arrow { - height: 28px; -} - -.submitbox { - margin-top: 10px; -} - -/* Inline Editor */ -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 19%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 49%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 29%; -} - -.inline-edit-row .submit { - zoom: 100%; -} - -.inline-edit-row fieldset label span.title { - display: block; - float: left; - width: 5em; -} - -.inline-edit-row fieldset label span.input-text-wrap { - margin-left: 0; - zoom: 100%; -} - -#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input { - line-height: 130%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input { - width: 95%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input { - width: 8em; -} -/* end Inline Editor */ - -#titlediv #title { - width: 98%; -} - -.button, -input[type="reset"], -input[type="button"], -input[type="submit"] { - padding: 0 8px; - line-height: 20px; - height: auto; -} - -.button.button-large, -input[type="reset"].button-large, -input[type="button"].button-large, -input[type="submit"].button-large { - padding: 0 10px; - line-height: 24px; - height: auto; -} - -.button.button-small, -input[type="reset"].button-small, -input[type="button"].button-small, -input[type="submit"].button-small { - padding: 0 6px; - line-height: 16px; - height: auto; -} - -a.button { - margin: 1px; - padding: 1px 9px 2px; -} - -a.button.button-large { - padding: 1px 11px 2px; -} - -a.button.button-small { - padding: 1px 7px 2px; -} - -#screen-options-wrap { - overflow: hidden; -} - -#the-comment-list .comment-item, -#post-status-info, -#wpwrap, -#wrap, -#postdivrich, -#postdiv, -#poststuff, -.metabox-holder, -#titlediv, -#post-body, -#editorcontainer, -.tablenav, -.widget-liquid-left, -.widget-liquid-right, -#widgets-left, -.widgets-sortables, -#dragHelper, -.widget .widget-top, -.widget-control-actions, -.tagchecklist, -#col-container, -#col-left, -#col-right, -.fileedit-sub { - display: block; - zoom: 100%; -} - -p.search-box { - position: static; - float: right; - margin: -3px 0 4px; -} - -#widget-list .widget { - display: inline; -} - -#editorcontainer #content { - overflow: auto; - margin: auto; - width: 98%; -} - -form#template div { - width: 100%; -} - -.wp-editor-container .quicktags-toolbar input { - overflow: visible; - padding: 0 4px; -} - -#poststuff h2 { - font-size: 1.6em; -} - -#poststuff .inside #parent_id, -#poststuff .inside #page_template, -.inline-edit-row #post_parent, -.inline-edit-row select[name="page_template"] { - width: 250px; -} - -#submitdiv input, -#submitdiv select, -#submitdiv a.button { - position: relative; -} - -#bh { - margin: 7px 10px 0 0; - float: right; -} - -/* without this dashboard widgets appear in one column for some screen widths */ -div#dashboard-widgets { - padding-right: 1px; -} - -.tagchecklist > li, .tagchecklist .ntdelbutton { - display: inline-block; - display: block; -} - -.tagchecklist .ntdelbutton:focus .remove-tag-icon:before { - outline: 1px solid #5b9dd9; -} - -.tablenav .button, -.nav .button { - padding-top: 2px; - padding-bottom: 2px; -} - -.tablenav select { - font-size: 13px; - display: inline-block; - vertical-align: top; - margin-top: 2px; -} - -.tablenav .actions select { - width: 155px; -} - -.subsubsub li { - display: inline; -} - -table.ie-fixed { - table-layout: fixed; -} - -.widefat tr, -.widefat th, -.widefat thead td, -.widefat tfoot td { - margin-bottom: 0; - border-spacing: 0; -} - -.widefat th input, -.widefat thead td input, -.widefat tfoot td input { - margin: 0 0 0 5px; -} - -.widefat thead .check-column, -.widefat tfoot .check-column { - padding-top: 6px; -} - -.widefat tbody th.check-column, -.media.widefat tbody th.check-column { - padding: 4px 0 0; -} - -.widefat { - empty-cells: show; - border-collapse: collapse; -} - -.tablenav a.button { - display: inline-block; - padding: 2px 5px; -} - -.inactive-sidebar .widgets-sortables { - padding-bottom: 8px; -} - -#available-widgets .widget-holder { - padding-bottom: 65px; -} - -#widgets-left .inactive { - padding-bottom: 10px; -} - -.widget-liquid-right .widget, -.inactive-sidebar .widget { - position: relative; -} - -.inactive-sidebar .widget { - display: block; - float: left; -} - -#wpcontent .button-primary-disabled { - color: #9FD0D5; - background: #298CBA; -} - -#the-comment-list .unapproved tr, -#the-comment-list .unapproved td { - background-color: #ffffe0; -} - -.imgedit-submit { - width: 300px; -} - -#nav-menus-frame, -#wpbody, -.menu li { - zoom: 100%; -} - -#update-nav-menu #post-body { - overflow: hidden; -} - -.menu li { - min-width: 100%; -} - -.menu li.sortable-placeholder { - min-width: 400px; -} - -.available-theme { - display: inline; -} - -.available-theme ul { - margin: 0; -} - -.available-theme .action-links li { - padding-right: 7px; - margin-right: 7px; -} - -.about-wrap .three-col.about-updates .col-2 { - width: 15%; -} - -.about-wrap .about-password-meter input { - width: 98%; -} - -.revisions-tickmarks, -.revisions-tooltip { - display: none !important; -} - -.revisions.pinned .revisions-controls { - position: relative; -} - -input[type="password"], -.login form .input { - font-family: sans-serif; -} - -/* TinyMCE icons */ -.mce-btn i.mce-i-bold, -.mce-btn i.mce-i-italic, -.mce-btn i.mce-i-bullist, -.mce-btn i.mce-i-numlist, -.mce-btn i.mce-i-blockquote, -.mce-btn i.mce-i-alignleft, -.mce-btn i.mce-i-aligncenter, -.mce-btn i.mce-i-alignright, -.mce-btn i.mce-i-link, -.mce-btn i.mce-i-unlink, -.mce-btn i.mce-i-wp_more, -.mce-btn i.mce-i-strikethrough, -.mce-btn i.mce-i-spellchecker, -.mce-btn i.mce-i-fullscreen, -.mce-btn i.mce-i-wp_fullscreen, -.mce-btn i.mce-i-wp_adv, -.mce-btn i.mce-i-underline, -.mce-btn i.mce-i-alignjustify, -.mce-btn i.mce-i-forecolor, -.mce-btn i.mce-i-pastetext, -.mce-btn i.mce-i-pasteword, -.mce-btn i.mce-i-removeformat, -.mce-btn i.mce-i-charmap, -.mce-btn i.mce-i-outdent, -.mce-btn i.mce-i-indent, -.mce-btn i.mce-i-undo, -.mce-btn i.mce-i-redo, -.mce-btn i.mce-i-help, -.mce-btn i.mce-i-wp_help, -.mce-btn i.mce-i-wp-media-library, -.mce-btn i.mce-i-ltr, -.mce-btn i.mce-i-wp_page, -.mce-btn i.mce-i-hr, -.mce-close { - font-family: tinymce, Arial; - font-style: normal; - font-weight: 400; - font-variant: normal; - font-size: 16px; - margin-left: 0; - padding-right: 0; -} - -.mce-btn i.mce-i-wp_fullscreen, -.qt-fullscreen { - -ie7-icon: "\e023"; -} - -.mce-btn i.mce-i-wp_more, -.mce-btn i.mce-i-wp_page { - -ie7-icon: "\e027"; -} - -.mce-btn i.mce-i-wp_adv { - background-color: #a0a5aa; -} - -.mce-btn i.mce-i-help, -.mce-btn i.mce-i-wp_help { - -ie7-icon: "\e016"; -} - - -/* IE6 leftovers */ -* html .row-actions { - visibility: visible; -} - -* html div.widget-liquid-left, -* html div.widget-liquid-right { - display: block; - position: relative; -} - -* html #editorcontainer { - padding: 0; -} - -* html #poststuff h2 { - margin-left: 0; -} - -* html .stuffbox, -* html .stuffbox input, -* html .stuffbox textarea { - border: 1px solid #ddd; -} - -* html div.widget-liquid-left { - width: 99%; -} - -* html .widgets-sortables { - height: 50px; -} - -* html a#content_resize { - right: -2px; -} - -* html .widget-title h4 { - width: 205px; -} - -* html #removing-widget .in-widget-title { - display: none; -} - -* html .media-item .pinkynail { - height: 32px; - width: 40px; -} - -* html .describe .field input.text, -* html .describe .field textarea { - width: 440px; -} - -* html input { - border: 1px solid #ddd; -} - -* html .edit-box { - display: inline; -} - -* html .postbox-container .meta-box-sortables { - height: 300px; -} - -* html #wpbody-content #screen-options-link-wrap { - display: inline-block; - width: 150px; - text-align: center; -} - -* html #wpbody-content #contextual-help-link-wrap { - display: inline-block; - width: 100px; - text-align: center; -} - -* html #adminmenu { - margin-left: -80px; -} - -* html .folded #adminmenu { - margin-left: -22px; -} - -* html #wpcontent #adminmenu li.menu-top { - display: inline; - padding: 0; - margin: 0; -} - -* html #wpfooter { - margin: 0; -} - -* html #adminmenu div.wp-menu-image { - height: 29px; -} diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index df9eaca5a4..1572c48e1d 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -30,10 +30,6 @@ a:focus { 0 0 2px 1px rgba(30, 140, 190, 0.8); } -.ie8 a:focus { - outline: #5b9dd9 solid 1px; -} - h1, h2 { border-bottom: 1px solid #ddd; clear: both; diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 3e55bb2d0e..f621aef2ab 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -62,13 +62,6 @@ text-align: center; } -.ie8 .column-response .comment-count-no-comments, -.ie8 .column-response .comment-count-approved, -.ie8 .column-comments .comment-count-no-comments, -.ie8 .column-comments .comment-count-approved { - min-width: 0; -} - .column-response .post-com-count-no-comments:after, .column-response .post-com-count-approved:after, .column-comments .post-com-count-no-comments:after, @@ -513,10 +506,6 @@ th.asc a:focus span.sorting-indicator:before { 0 0 2px 1px rgba(30, 140, 190, 0.8); } -.ie8 .wp-list-table .toggle-row:focus:before { - outline: #5b9dd9 solid 1px; -} - .wp-list-table .toggle-row:active { box-shadow: none; } @@ -1080,11 +1069,6 @@ ul.cat-checklist { max-width: 80%; } -.ie8 .inline-edit-row #post_parent, -.ie8 .inline-edit-row select[name="page_template"] { - width: 250px; -} - .quick-edit-row-post fieldset label.inline-edit-status { float: left; } diff --git a/src/wp-admin/css/revisions.css b/src/wp-admin/css/revisions.css index 16b8278aa3..4b3a6e48d8 100644 --- a/src/wp-admin/css/revisions.css +++ b/src/wp-admin/css/revisions.css @@ -79,7 +79,6 @@ top: 50%; top: calc( 50% - 10px ); transition: opacity 0.5s; - filter: alpha(opacity=0); /* ie8 and earlier */ } body.folded .revisions .loading-indicator { @@ -94,7 +93,6 @@ body.folded .revisions .loading-indicator { .revisions.loading .loading-indicator { opacity: 1; - filter: alpha(opacity=100); /* ie8 and earlier */ } .revisions .diff { @@ -103,7 +101,6 @@ body.folded .revisions .loading-indicator { .revisions.loading .diff { opacity: 0.5; - filter: alpha(opacity=50); /* ie8 and earlier */ } .revisions.diff-error .diff { @@ -385,16 +382,6 @@ table.diff .diff-addedline ins { right: 20px; } -.ie8 .revisions-tooltip-arrow > span { - left: 15px; - top: -25px; - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; -} - -.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow > span { - right: 25px; -} - .revisions-tooltip, .revisions-tooltip-arrow > span { border: 1px solid #ddd; diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 606b61d163..a5ef219f77 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -61,11 +61,6 @@ body.js .theme-browser.search-loading { box-sizing: border-box; } -.ie8 .theme-browser .theme { - width: 30%; - margin: 0 3% 4% 0; -} - .theme-browser .theme:nth-child(3n) { margin-right: 0; } @@ -504,10 +499,6 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { border-top: 1px solid #eee; } -.ie8 .theme-overlay .theme-actions { - border: 1px solid #eee; -} - .theme-overlay .theme-actions a { margin-right: 5px; margin-bottom: 5px; diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index c50666f6eb..fc05bd6f72 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -526,7 +526,6 @@ function wp_iframe( $content_func, ...$args ) { ) { wp_enqueue_style( 'deprecated-media' ); } - wp_enqueue_style( 'ie' ); ?> - - - > - (function() { - var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)'); + > + (function() { + var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)'); - - request = (function(){ var xhr = new XMLHttpRequest(); return ('withCredentials' in xhr); })(); - - request = true; - + + request = (function(){ var xhr = new XMLHttpRequest(); return ('withCredentials' in xhr); })(); + + request = true; + - b[c] = b[c].replace( rcs, ' ' ); - // The customizer requires postMessage and CORS (if the site is cross domain). - b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs; - }()); - - + b[c] = b[c].replace( rcs, ' ' ); + // The customizer requires postMessage and CORS (if the site is cross domain). + b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs; + }()); + - - - > - + > <?php echo $login_title; ?>