Ticket #46015: 46015.patch
| File 46015.patch, 32.0 KB (added by , 7 years ago) |
|---|
-
Gruntfile.js
diff --git a/Gruntfile.js b/Gruntfile.js index d0d00c9a08..88a4dd79c6 100644
a b module.exports = function(grunt) { 404 404 }, 405 405 cssmin: { 406 406 options: { 407 compatibility: 'ie 7'407 compatibility: 'ie9' 408 408 }, 409 409 core: { 410 410 expand: true, … … module.exports = function(grunt) { 669 669 uglify: { 670 670 options: { 671 671 ASCIIOnly: true, 672 screwIE8: false672 screwIE8: true 673 673 }, 674 674 core: { 675 675 expand: true, -
src/js/_enqueues/admin/common.js
diff --git a/src/js/_enqueues/admin/common.js b/src/js/_enqueues/admin/common.js index 00efd8573a..1c92130b3f 100644
a b $document.ready( function() { 474 474 currentPage = pageInput.val(), 475 475 isIOS = /iPhone|iPad|iPod/.test( navigator.userAgent ), 476 476 isAndroid = navigator.userAgent.indexOf( 'Android' ) !== -1, 477 isIE8 = $( document.documentElement ).hasClass( 'ie8' ),478 477 $adminMenuWrap = $( '#adminmenuwrap' ), 479 478 $wpwrap = $( '#wpwrap' ), 480 479 $adminmenu = $( '#adminmenu' ), … … $document.ready( function() { 1058 1057 var windowPos = $window.scrollTop(), 1059 1058 resizing = ! event || event.type !== 'scroll'; 1060 1059 1061 if ( isIOS || isIE8 ||$adminmenu.data( 'wp-responsive' ) ) {1060 if ( isIOS || $adminmenu.data( 'wp-responsive' ) ) { 1062 1061 return; 1063 1062 } 1064 1063 -
src/wp-admin/css/admin-menu.css
diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css index 424f8a9aeb..e9d3404f29 100644
a b div.wp-menu-image:before { 385 385 color: #00b9eb; 386 386 } 387 387 388 /* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */389 .ie8 #adminmenu li.opensub div.wp-menu-image:before {390 color: #a0a5aa;391 }392 393 388 .folded #adminmenu div.wp-menu-image { 394 389 width: 35px; 395 390 height: 30px; -
src/wp-admin/css/colors/_admin.scss
diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index 6e064a04a1..e13a971a8c 100644
a b ul#adminmenu > li.current > a.current:after { 201 201 #adminmenu li:hover div.wp-menu-image:before, 202 202 #adminmenu li a:focus div.wp-menu-image:before, 203 203 #adminmenu li.opensub div.wp-menu-image:before, 204 .ie8 #adminmenu li.opensub div.wp-menu-image:before {205 color: $menu-current-icon;206 }207 204 208 205 209 206 /* Admin Menu: bubble */ -
src/wp-admin/css/common.css
diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index b6fe8c0c75..3de2002973 100644
a b a:focus .media-icon img, 279 279 outline: 1px solid transparent; 280 280 } 281 281 282 .ie8 a:focus {283 outline: #5b9dd9 solid 1px;284 }285 286 282 #adminmenu a:focus { 287 283 box-shadow: none; 288 284 /* Only visible in Windows High Contrast mode */ … … div.error p, 1433 1429 box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 1434 1430 } 1435 1431 1436 .ie8 .notice-dismiss:focus {1437 outline: 1px solid #5b9dd9;1438 }1439 1440 1432 .notice-success, 1441 1433 div.updated { 1442 1434 border-left-color: #46b450; … … form.upgrade .hint { 1753 1745 font-weight: 600; 1754 1746 } 1755 1747 1756 .ie8 #screen-options-wrap legend {1757 color: inherit;1758 }1759 1760 1748 .metabox-prefs label { 1761 1749 display: inline-block; 1762 1750 padding-right: 15px; … … h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ 2228 2216 clear: both; 2229 2217 } 2230 2218 2231 .ie8 .nav-tab-wrapper {2232 /* contain floats establishing a new block formatting context */2233 display: inline-block;2234 width: 100%;2235 vertical-align: top;2236 }2237 2238 2219 /*------------------------------------------------------------------------------ 2239 2220 26.0 - Misc 2240 2221 ------------------------------------------------------------------------------*/ -
src/wp-admin/css/customize-nav-menus.css
diff --git a/src/wp-admin/css/customize-nav-menus.css b/src/wp-admin/css/customize-nav-menus.css index 5aa8cedfc2..a9f3685612 100644
a b 475 475 -moz-osx-font-smoothing: grayscale; 476 476 } 477 477 478 .ie8 .menu-item-bar .item-delete:before {479 top: -10px;480 }481 482 478 .menu-item-bar .item-delete:hover, 483 479 .menu-item-bar .item-delete:focus { 484 480 box-shadow: none; -
src/wp-admin/css/dashboard.css
diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 949408d8de..c2baaab8ec 100644
a b 38 38 border: none !important; 39 39 } 40 40 41 .ie8 #wpbody-content #dashboard-widgets .postbox-container {42 width: 49.5%;43 }44 45 .ie8 #wpbody-content #dashboard-widgets #postbox-container-2,46 .ie8 #wpbody-content #dashboard-widgets #postbox-container-3,47 .ie8 #wpbody-content #dashboard-widgets #postbox-container-4 {48 float: right;49 width: 50.5%;50 }51 52 .ie8 #dashboard-widgets #postbox-container-3 .empty-container,53 .ie8 #dashboard-widgets #postbox-container-4 .empty-container {54 border: 0 none;55 height: 0;56 min-height: 0;57 }58 59 41 #dashboard-widgets-wrap { 60 42 overflow: hidden; 61 43 margin: 0 -8px; … … 180 162 float: left; 181 163 } 182 164 183 .ie8 .welcome-panel .welcome-panel-column {184 min-width: 230px;185 }186 187 165 .welcome-panel .welcome-panel-column:first-child { 188 166 width: 36%; 189 167 } -
src/wp-admin/css/edit.css
diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 52dbee6d2c..3d7a467760 100644
a b span.wp-media-buttons-icon:before { 624 624 max-width: 100%; 625 625 } 626 626 627 .ie8 #poststuff .inside #parent_id,628 .ie8 #poststuff .inside #page_template {629 width: 250px;630 }631 632 627 .post-attributes-label-wrapper { 633 628 margin-bottom: 0.5em; 634 629 } -
src/wp-admin/css/forms.css
diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 3013434604..a3c1139ade 100644
a b input[type="search"]::-webkit-search-decoration { 166 166 display: none; 167 167 } 168 168 169 .ie8 input[type="password"] {170 font-family: sans-serif;171 }172 173 169 textarea, 174 170 input, 175 171 select, … … input[type="number"].tiny-text { 415 411 max-width: 200px; 416 412 } 417 413 418 .ie8 .tablenav .actions select {419 width: 155px;420 }421 422 .ie8 .tablenav .actions select#cat {423 width: 200px;424 }425 426 414 #timezone_string option { 427 415 margin-left: 1em; 428 416 } -
deleted file src/wp-admin/css/ie.css
diff --git a/src/wp-admin/css/ie.css b/src/wp-admin/css/ie.css deleted file mode 100644 index ceb02a8594..0000000000
+ - 1 /* Fixes for IE 7 bugs */2 3 #dashboard-widgets form .input-text-wrap input,4 #dashboard-widgets form .textarea-wrap textarea {5 width: 99%;6 }7 8 #dashboard-widgets form #title {9 width: 98%;10 }11 12 #wpbody-content #dashboard-widgets .postbox-container {13 width: 49.5%;14 }15 16 #wpbody-content #dashboard-widgets #postbox-container-2,17 #wpbody-content #dashboard-widgets #postbox-container-3,18 #wpbody-content #dashboard-widgets #postbox-container-4 {19 float: right;20 width: 50.5%;21 }22 23 #dashboard-widgets #postbox-container-3 .empty-container,24 #dashboard-widgets #postbox-container-4 .empty-container {25 border: 0 none;26 height: 0;27 min-height: 0;28 }29 30 .wp-editor-wrap .wp-editor-tools,31 .wp-editor-wrap .wp-switch-editor,32 .wp-editor-wrap .wp-editor-tabs,33 .wp-editor-wrap .wp-editor-container {34 zoom: 100%;35 }36 37 .wp-editor-wrap .wp-editor-container textarea.wp-editor-area {38 width: 97%;39 }40 41 #post-body.columns-2 #postbox-container-1 {42 padding-left: 19px;43 }44 45 .welcome-panel .wp-badge {46 position: absolute;47 }48 49 .welcome-panel .welcome-panel-column:first-child {50 width: 35%;51 }52 53 #adminmenuback {54 left: 0;55 background-image: none;56 }57 58 #adminmenuwrap {59 position: static;60 }61 62 #adminmenu {63 position: relative;64 }65 66 #adminmenu,67 #adminmenu a {68 cursor: pointer;69 }70 71 #adminmenu li.wp-menu-separator,72 #adminmenu li.wp-menu-separator-last {73 font-size: 1px;74 line-height: 1;75 }76 77 #adminmenu a.menu-top {78 border-bottom: 0 none;79 border-top: 1px solid #ddd;80 }81 82 #adminmenu .separator {83 font-size: 1px;84 line-height: 1px;85 }86 87 #adminmenu .wp-submenu {88 left: 110px;89 }90 91 #adminmenu .wp-submenu ul {92 margin: 0;93 }94 95 .folded #wpcontent,96 .folded #wpfooter {97 margin-left: 170px;98 }99 100 .folded #adminmenuback,101 .folded #adminmenuwrap,102 .folded #adminmenu,103 .folded #adminmenu li.menu-top {104 width: 150px;105 }106 107 .folded #adminmenu .wp-submenu {108 border-top-color: transparent;109 }110 111 .folded #adminmenu .wp-menu-name {112 display: block;113 }114 115 .folded #adminmenu .wp-submenu.sub-open,116 .folded #adminmenu .opensub .wp-submenu {117 left: 110px;118 }119 120 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,121 .folded #adminmenu .wp-has-current-submenu .wp-submenu {122 top: -1px;123 position: relative;124 }125 126 .folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head {127 background-color: transparent;128 }129 130 #adminmenu .wp-submenu .wp-submenu-head {131 border-top-color: #ddd;132 }133 134 .folded #adminmenu .wp-submenu ul {135 margin-left: 5px;136 }137 138 #adminmenu li.menu-top {139 margin-bottom: -2px;140 }141 142 #adminmenu .wp-menu-arrow {143 display: none !important;144 }145 146 .js.folded #adminmenu li.menu-top {147 display: block;148 zoom: 100%;149 }150 151 ul#adminmenu {152 z-index: 99;153 }154 155 #adminmenu li.menu-top a.menu-top {156 min-width: auto;157 width: auto;158 }159 160 #wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu {161 font-style: normal;162 }163 164 #wpcontent #adminmenu .wp-submenu li {165 padding: 0;166 }167 168 #adminmenu li.wp-has-current-submenu .wp-submenu {169 left: -40px;170 }171 172 #adminmenu .wp-menu-image {173 display: none !important;174 }175 176 #adminmenu a.menu-top .wp-menu-name {177 padding-left: 8px;178 }179 180 #collapse-menu {181 line-height: 23px;182 }183 184 #wpadminbar .ab-comments-icon {185 padding-top: 7px;186 }187 188 189 .theme-browser .theme {190 width: 30%;191 margin: 0 3% 4% 0;192 cursor: auto;193 }194 195 .theme-browser .theme:hover,196 .theme-browser .theme:focus {197 cursor: auto;198 }199 200 .theme-browser .theme .theme-screenshot {201 height: 180px;202 }203 204 .theme-browser .theme .theme-actions {205 position: static;206 background-color: #e8e8e8;207 }208 209 .theme-browser .theme .more-details {210 display: none;211 }212 213 .plugins td,214 .plugins th {215 border-top: 1px solid #ddd;216 }217 218 table.fixed th,219 table.fixed td {220 border-top: 1px solid #ddd;221 }222 223 #wpbody-content input.button,224 #wpbody-content input.button-primary {225 overflow: visible;226 }227 228 #dashboard-widgets h3 a {229 height: 14px;230 line-height: 14px;231 }232 233 #dashboard_browser_nag {234 color: #fff;235 }236 237 #dashboard_browser_nag .browser-icon {238 position: relative;239 }240 241 .tablenav-pages .current-page {242 vertical-align: middle;243 }244 245 #wpbody-content .postbox {246 border: 1px solid #ddd;247 }248 249 #wpbody-content .postbox .hndle {250 margin-bottom: -1px;251 }252 253 .major-publishing-actions,254 .wp-submenu,255 .wp-submenu li,256 #template,257 #template div,258 #editcat,259 #addcat {260 zoom: 100%;261 }262 263 .wp-menu-arrow {264 height: 28px;265 }266 267 .submitbox {268 margin-top: 10px;269 }270 271 /* Inline Editor */272 #wpbody-content .quick-edit-row-post .inline-edit-col-left {273 width: 39%;274 }275 276 #wpbody-content .inline-edit-row-post .inline-edit-col-center {277 width: 19%;278 }279 280 #wpbody-content .quick-edit-row-page .inline-edit-col-left {281 width: 49%;282 }283 284 #wpbody-content .bulk-edit-row .inline-edit-col-left {285 width: 29%;286 }287 288 .inline-edit-row .submit {289 zoom: 100%;290 }291 292 .inline-edit-row fieldset label span.title {293 display: block;294 float: left;295 width: 5em;296 }297 298 .inline-edit-row fieldset label span.input-text-wrap {299 margin-left: 0;300 zoom: 100%;301 }302 303 #wpbody-content .inline-edit-row fieldset label span.input-text-wrap input {304 line-height: 130%;305 }306 307 #wpbody-content .inline-edit-row .input-text-wrap input {308 width: 95%;309 }310 311 #wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input {312 width: 8em;313 }314 /* end Inline Editor */315 316 #titlediv #title {317 width: 98%;318 }319 320 .button,321 input[type="reset"],322 input[type="button"],323 input[type="submit"] {324 padding: 0 8px;325 line-height: 20px;326 height: auto;327 }328 329 .button.button-large,330 input[type="reset"].button-large,331 input[type="button"].button-large,332 input[type="submit"].button-large {333 padding: 0 10px;334 line-height: 24px;335 height: auto;336 }337 338 .button.button-small,339 input[type="reset"].button-small,340 input[type="button"].button-small,341 input[type="submit"].button-small {342 padding: 0 6px;343 line-height: 16px;344 height: auto;345 }346 347 a.button {348 margin: 1px;349 padding: 1px 9px 2px;350 }351 352 a.button.button-large {353 padding: 1px 11px 2px;354 }355 356 a.button.button-small {357 padding: 1px 7px 2px;358 }359 360 #screen-options-wrap {361 overflow: hidden;362 }363 364 #the-comment-list .comment-item,365 #post-status-info,366 #wpwrap,367 #wrap,368 #postdivrich,369 #postdiv,370 #poststuff,371 .metabox-holder,372 #titlediv,373 #post-body,374 #editorcontainer,375 .tablenav,376 .widget-liquid-left,377 .widget-liquid-right,378 #widgets-left,379 .widgets-sortables,380 #dragHelper,381 .widget .widget-top,382 .widget-control-actions,383 .tagchecklist,384 #col-container,385 #col-left,386 #col-right,387 .fileedit-sub {388 display: block;389 zoom: 100%;390 }391 392 p.search-box {393 position: static;394 float: right;395 margin: -3px 0 4px;396 }397 398 #widget-list .widget {399 display: inline;400 }401 402 #editorcontainer #content {403 overflow: auto;404 margin: auto;405 width: 98%;406 }407 408 form#template div {409 width: 100%;410 }411 412 .wp-editor-container .quicktags-toolbar input {413 overflow: visible;414 padding: 0 4px;415 }416 417 #poststuff h2 {418 font-size: 1.6em;419 }420 421 #poststuff .inside #parent_id,422 #poststuff .inside #page_template,423 .inline-edit-row #post_parent,424 .inline-edit-row select[name="page_template"] {425 width: 250px;426 }427 428 #submitdiv input,429 #submitdiv select,430 #submitdiv a.button {431 position: relative;432 }433 434 #bh {435 margin: 7px 10px 0 0;436 float: right;437 }438 439 /* without this dashboard widgets appear in one column for some screen widths */440 div#dashboard-widgets {441 padding-right: 1px;442 }443 444 .tagchecklist > li, .tagchecklist .ntdelbutton {445 display: inline-block;446 display: block;447 }448 449 .tagchecklist .ntdelbutton:focus .remove-tag-icon:before {450 outline: 1px solid #5b9dd9;451 }452 453 .tablenav .button,454 .nav .button {455 padding-top: 2px;456 padding-bottom: 2px;457 }458 459 .tablenav select {460 font-size: 13px;461 display: inline-block;462 vertical-align: top;463 margin-top: 2px;464 }465 466 .tablenav .actions select {467 width: 155px;468 }469 470 .subsubsub li {471 display: inline;472 }473 474 a.post-state-format {475 text-indent: 0;476 line-height: 0;477 font-size: 0;478 }479 480 table.ie-fixed {481 table-layout: fixed;482 }483 484 .widefat tr,485 .widefat th,486 .widefat thead td,487 .widefat tfoot td {488 margin-bottom: 0;489 border-spacing: 0;490 }491 492 .widefat th input,493 .widefat thead td input,494 .widefat tfoot td input {495 margin: 0 0 0 5px;496 }497 498 .widefat thead .check-column,499 .widefat tfoot .check-column {500 padding-top: 6px;501 }502 503 .widefat tbody th.check-column,504 .media.widefat tbody th.check-column {505 padding: 4px 0 0;506 }507 508 .widefat {509 empty-cells: show;510 border-collapse: collapse;511 }512 513 .tablenav a.button {514 display: inline-block;515 padding: 2px 5px;516 }517 518 .inactive-sidebar .widgets-sortables {519 padding-bottom: 8px;520 }521 522 #available-widgets .widget-holder {523 padding-bottom: 65px;524 }525 526 #widgets-left .inactive {527 padding-bottom: 10px;528 }529 530 .widget-liquid-right .widget,531 .inactive-sidebar .widget {532 position: relative;533 }534 535 .inactive-sidebar .widget {536 display: block;537 float: left;538 }539 540 #wpcontent .button-primary-disabled {541 color: #9FD0D5;542 background: #298CBA;543 }544 545 #the-comment-list .unapproved tr,546 #the-comment-list .unapproved td {547 background-color: #ffffe0;548 }549 550 .imgedit-submit {551 width: 300px;552 }553 554 #nav-menus-frame,555 #wpbody,556 .menu li {557 zoom: 100%;558 }559 560 #update-nav-menu #post-body {561 overflow:hidden;562 }563 564 .menu li {565 min-width: 100%;566 }567 568 .menu li.sortable-placeholder {569 min-width: 400px;570 }571 572 .available-theme {573 display: inline;574 }575 576 .available-theme ul {577 margin: 0;578 }579 580 .available-theme .action-links li {581 padding-right: 7px;582 margin-right: 7px;583 }584 585 .about-wrap .three-col.about-updates .col-2 {586 width: 15%;587 }588 589 .about-wrap .about-password-meter input {590 width: 98%;591 }592 593 .revisions-tickmarks,594 .revisions-tooltip {595 display: none !important;596 }597 598 .revisions.pinned .revisions-controls {599 position: relative;600 }601 602 input[type="password"],603 .login form .input {604 font-family: sans-serif;605 }606 607 /* TinyMCE icons */608 .mce-btn i.mce-i-bold,609 .mce-btn i.mce-i-italic,610 .mce-btn i.mce-i-bullist,611 .mce-btn i.mce-i-numlist,612 .mce-btn i.mce-i-blockquote,613 .mce-btn i.mce-i-alignleft,614 .mce-btn i.mce-i-aligncenter,615 .mce-btn i.mce-i-alignright,616 .mce-btn i.mce-i-link,617 .mce-btn i.mce-i-unlink,618 .mce-btn i.mce-i-wp_more,619 .mce-btn i.mce-i-strikethrough,620 .mce-btn i.mce-i-spellchecker,621 .mce-btn i.mce-i-fullscreen,622 .mce-btn i.mce-i-wp_fullscreen,623 .mce-btn i.mce-i-wp_adv,624 .mce-btn i.mce-i-underline,625 .mce-btn i.mce-i-alignjustify,626 .mce-btn i.mce-i-forecolor,627 .mce-btn i.mce-i-pastetext,628 .mce-btn i.mce-i-pasteword,629 .mce-btn i.mce-i-removeformat,630 .mce-btn i.mce-i-charmap,631 .mce-btn i.mce-i-outdent,632 .mce-btn i.mce-i-indent,633 .mce-btn i.mce-i-undo,634 .mce-btn i.mce-i-redo,635 .mce-btn i.mce-i-help,636 .mce-btn i.mce-i-wp_help,637 .mce-btn i.mce-i-wp-media-library,638 .mce-btn i.mce-i-ltr,639 .mce-btn i.mce-i-wp_page,640 .mce-btn i.mce-i-hr,641 .mce-close {642 font-family: tinymce, Arial;643 font-style: normal;644 font-weight: 400;645 font-variant: normal;646 font-size: 16px;647 margin-left: 0;648 padding-right: 0;649 }650 651 .mce-btn i.mce-i-wp_fullscreen,652 .qt-fullscreen {653 -ie7-icon: "\e023";654 }655 656 .mce-btn i.mce-i-wp_more,657 .mce-btn i.mce-i-wp_page {658 -ie7-icon: "\e027";659 }660 661 .mce-btn i.mce-i-wp_adv {662 background-color: #a0a5aa;663 }664 665 .mce-btn i.mce-i-help,666 .mce-btn i.mce-i-wp_help {667 -ie7-icon: "\e016";668 }669 670 671 /* IE6 leftovers */672 * html .row-actions {673 visibility: visible;674 }675 676 * html div.widget-liquid-left,677 * html div.widget-liquid-right {678 display: block;679 position: relative;680 }681 682 * html #editorcontainer {683 padding: 0;684 }685 686 * html #poststuff h2 {687 margin-left: 0;688 }689 690 * html .stuffbox,691 * html .stuffbox input,692 * html .stuffbox textarea {693 border: 1px solid #ddd;694 }695 696 * html div.widget-liquid-left {697 width: 99%;698 }699 700 * html .widgets-sortables {701 height: 50px;702 }703 704 * html a#content_resize {705 right: -2px;706 }707 708 * html .widget-title h4 {709 width: 205px;710 }711 712 * html #removing-widget .in-widget-title {713 display: none;714 }715 716 * html .media-item .pinkynail {717 height: 32px;718 width: 40px;719 }720 721 * html .describe .field input.text,722 * html .describe .field textarea {723 width: 440px;724 }725 726 * html input {727 border: 1px solid #ddd;728 }729 730 * html .edit-box {731 display: inline;732 }733 734 * html .postbox-container .meta-box-sortables {735 height: 300px;736 }737 738 * html #wpbody-content #screen-options-link-wrap {739 display: inline-block;740 width: 150px;741 text-align: center;742 }743 744 * html #wpbody-content #contextual-help-link-wrap {745 display: inline-block;746 width: 100px;747 text-align: center;748 }749 750 * html #adminmenu {751 margin-left: -80px;752 }753 754 * html .folded #adminmenu {755 margin-left: -22px;756 }757 758 * html #wpcontent #adminmenu li.menu-top {759 display: inline;760 padding: 0;761 margin: 0;762 }763 764 * html #wpfooter {765 margin: 0;766 }767 768 * html #adminmenu div.wp-menu-image {769 height: 29px;770 } -
src/wp-admin/css/install.css
diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index a6516f8b3e..43c8558663 100644
a b a:focus { 30 30 0 0 2px 1px rgba(30, 140, 190, .8); 31 31 } 32 32 33 .ie8 a:focus {34 outline: #5b9dd9 solid 1px;35 }36 37 33 h1, h2 { 38 34 border-bottom: 1px solid #ddd; 39 35 clear: both; -
src/wp-admin/css/list-tables.css
diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 6dcac9d56f..1a45913e09 100644
a b 62 62 text-align: center; 63 63 } 64 64 65 .ie8 .column-response .comment-count-no-comments,66 .ie8 .column-response .comment-count-approved,67 .ie8 .column-comments .comment-count-no-comments,68 .ie8 .column-comments .comment-count-approved {69 min-width: 0;70 }71 72 65 .column-response .post-com-count-no-comments:after, 73 66 .column-response .post-com-count-approved:after, 74 67 .column-comments .post-com-count-no-comments:after, … … th.asc a:focus span.sorting-indicator:before { 500 493 0 0 2px 1px rgba(30, 140, 190, .8); 501 494 } 502 495 503 .ie8 .wp-list-table .toggle-row:focus:before {504 outline: #5b9dd9 solid 1px;505 }506 507 496 .wp-list-table .toggle-row:active { 508 497 box-shadow: none; 509 498 } … … ul.cat-checklist { 1086 1075 max-width: 80%; 1087 1076 } 1088 1077 1089 .ie8 .inline-edit-row #post_parent,1090 .ie8 .inline-edit-row select[name="page_template"] {1091 width: 250px;1092 }1093 1094 1078 .quick-edit-row-post fieldset label.inline-edit-status { 1095 1079 float: left; 1096 1080 } -
src/wp-admin/css/login.css
diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 686be7dde9..fde5ecd8c2 100644
a b a:focus { 40 40 0 0 2px 1px rgba(30, 140, 190, .8); 41 41 } 42 42 43 .ie8 a:focus {44 outline: #5b9dd9 solid 1px;45 }46 47 43 p { 48 44 line-height: 1.5; 49 45 } … … p { 219 215 background: #fbfbfb; 220 216 } 221 217 222 .ie7 .login form .input,223 .ie8 .login form .input {224 font-family: sans-serif;225 }226 227 218 .login-action-rp input[type="text"] { 228 219 box-shadow: none; 229 220 margin: 0; -
src/wp-admin/css/revisions.css
diff --git a/src/wp-admin/css/revisions.css b/src/wp-admin/css/revisions.css index c900a4998b..12d92e08b1 100644
a b 76 76 top: 50%; 77 77 top: calc( 50% - 10px ); 78 78 transition: opacity 0.5s; 79 filter: alpha(opacity=0); /* ie8 and earlier */80 79 } 81 80 82 81 body.folded .revisions .loading-indicator { … … body.folded .revisions .loading-indicator { 91 90 92 91 .revisions.loading .loading-indicator { 93 92 opacity: 1; 94 filter: alpha(opacity=100); /* ie8 and earlier */95 93 } 96 94 97 95 .revisions .diff { … … body.folded .revisions .loading-indicator { 100 98 101 99 .revisions.loading .diff { 102 100 opacity: 0.5; 103 filter: alpha(opacity=50); /* ie8 and earlier */104 101 } 105 102 106 103 .revisions.diff-error .diff { … … table.diff .diff-addedline ins { 363 360 right: 20px; 364 361 } 365 362 366 .ie8 .revisions-tooltip-arrow > span {367 left: 15px;368 top: -25px;369 -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)";370 }371 372 .ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow > span {373 right: 25px;374 }375 376 363 .revisions-tooltip, 377 364 .revisions-tooltip-arrow > span { 378 365 border: 1px solid #ddd; -
src/wp-admin/css/themes.css
diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 1d0df145d7..5c404fdecf 100644
a b body.js .theme-browser.search-loading { 64 64 box-sizing: border-box; 65 65 } 66 66 67 .ie8 .theme-browser .theme {68 width: 30%;69 margin: 0 3% 4% 0;70 }71 72 67 .theme-browser .theme:nth-child(3n) { 73 68 margin-right: 0; 74 69 } … … body.folded .theme-browser ~ .theme-overlay .theme-wrap { 507 502 border-top: 1px solid #eee; 508 503 } 509 504 510 .ie8 .theme-overlay .theme-actions {511 border: 1px solid #eee;512 }513 514 505 .theme-overlay .theme-actions a { 515 506 margin-right: 5px; 516 507 margin-bottom: 5px; -
src/wp-admin/includes/template.php
diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index ce22688db8..bcfdcc2668 100644
a b function _wp_admin_html_begin() { 2334 2334 2335 2335 ?> 2336 2336 <!DOCTYPE html> 2337 <!--[if IE 8]>2338 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>"2339 <?php2340 /**2341 * Fires inside the HTML tag in the admin header.2342 *2343 * @since 2.2.02344 */2345 do_action( 'admin_xml_ns' );2346 2347 language_attributes();2348 ?>2349 >2350 <![endif]-->2351 <!--[if !(IE 8) ]><!-->2352 2337 <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" 2353 <?php2338 <?php 2354 2339 /** This action is documented in wp-admin/includes/template.php */ 2355 2340 do_action( 'admin_xml_ns' ); 2356 2341 2357 language_attributes(); 2358 ?> 2359 > 2360 <!--<![endif]--> 2342 language_attributes(); 2343 ?> 2344 > 2361 2345 <head> 2362 2346 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" /> 2363 2347 <?php -
src/wp-includes/class-wp-admin-bar.php
diff --git a/src/wp-includes/class-wp-admin-bar.php b/src/wp-includes/class-wp-admin-bar.php index 72b7ce4111..84f127a64e 100644
a b public function render() { 422 422 // We have to do this here since admin bar shows on the front end. 423 423 $class = 'nojq nojs'; 424 424 if ( $is_IE ) { 425 if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 7' ) ) { 426 $class .= ' ie7'; 427 } elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 8' ) ) { 428 $class .= ' ie8'; 429 } elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 9' ) ) { 425 if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 9' ) ) { 430 426 $class .= ' ie9'; 431 427 } 432 428 } elseif ( wp_is_mobile() ) { -
src/wp-includes/css/admin-bar.css
diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index b357c4bb95..dc6739535a 100644
a b html:lang(he-il) .rtl #wpadminbar * { 151 151 float: none; 152 152 } 153 153 154 #wpadminbar.ie7 .menupop .ab-sub-wrapper,155 #wpadminbar.ie7 .shortlink-input {156 top: 32px;157 left: 0;158 }159 160 154 #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { 161 155 min-width: 100%; 162 156 } … … html:lang(he-il) .rtl #wpadminbar * { 406 400 min-width: 270px; 407 401 } 408 402 409 #wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar .ab-item {410 white-space: nowrap;411 }412 413 403 #wpadminbar #wp-admin-bar-user-actions > li { 414 404 margin-left: 16px; 415 405 margin-right: 16px; … … html:lang(he-il) .rtl #wpadminbar * { 473 463 display: inline; 474 464 } 475 465 476 #wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar > .ab-empty-item img,477 #wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar > a img {478 width: auto;479 }480 481 466 /** 482 467 * WP Logo 483 468 */ … … html:lang(he-il) .rtl #wpadminbar * { 589 574 /** 590 575 * Search 591 576 */ 592 #wpadminbar.ie8 #wp-admin-bar-search {593 display: block;594 min-width: 32px;595 }596 577 #wpadminbar #wp-admin-bar-search .ab-item { 597 578 padding: 0; 598 579 background: transparent; … … html:lang(he-il) .rtl #wpadminbar * { 653 634 border: 0; 654 635 } 655 636 656 #wpadminbar.ie7 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {657 margin-top: 3px;658 width: 120px;659 }660 661 #wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {662 /* IE8 z-index bug with transparent / empty elements - fill in with an encoded transparent GIF */663 background: transparent 0 0 repeat scroll url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");664 }665 666 /* IE8 doesn't redraw the pseudo elements unless you make a change to the content */667 #wpadminbar.ie8 #adminbarsearch.adminbar-focused:before {668 content: "\f179 "; /* extra space */669 }670 671 #wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {672 background: #fff;673 z-index: -1;674 }675 676 637 #wpadminbar #adminbarsearch .adminbar-button { 677 638 display: none; 678 639 } -
src/wp-includes/css/buttons.css
diff --git a/src/wp-includes/css/buttons.css b/src/wp-includes/css/buttons.css index c051975f6a..4d0acb0552 100644
a b TABLE OF CONTENTS: 226 226 color: #dc3232; 227 227 } 228 228 229 .ie8 .wp-core-ui .button-link:focus {230 outline: #5b9dd9 solid 1px;231 }232 233 229 /* ---------------------------------------------------------------------------- 234 230 3.0 - Primary Button Style 235 231 ---------------------------------------------------------------------------- */ -
src/wp-includes/css/media-views.css
diff --git a/src/wp-includes/css/media-views.css b/src/wp-includes/css/media-views.css index 07ee8cfc2a..aebc322544 100644
a b 929 929 transform: translate( -50%, -70% ); 930 930 } 931 931 932 .ie8 .wp-core-ui .attachment img.icon {933 top: 20%;934 position: relative;935 }936 937 932 .wp-core-ui .attachment .filename { 938 933 position: absolute; 939 934 left: 0; … … 2157 2152 display: block; 2158 2153 } 2159 2154 2160 /**2161 * IE7 Fixes2162 */2163 .ie7 .media-frame .attachments-browser {2164 position: static;2165 }2166 2167 .ie7 .media-frame .embed-url input {2168 margin-top: 4px;2169 width: 90%;2170 }2171 2172 .ie7 .compat-item {2173 width: 99%;2174 }2175 2176 .ie7 .attachment-display-settings {2177 width: auto;2178 }2179 2180 .ie7 .attachment-preview,2181 .ie7 .attachment-preview .thumbnail {2182 width: 120px;2183 height: 120px;2184 }2185 2186 .ie7 .media-frame .attachment .describe {2187 width: 102px;2188 }2189 2190 .ie7 .media-sidebar .setting select {2191 max-width: 55%;2192 }2193 2194 .ie7 .media-sidebar .setting input[type="text"],2195 .ie7 .media-sidebar .setting input[type="password"],2196 .ie7 .media-sidebar .setting input[type="email"],2197 .ie7 .media-sidebar .setting input[type="number"],2198 .ie7 .media-sidebar .setting input[type="search"],2199 .ie7 .media-sidebar .setting input[type="tel"],2200 .ie7 .media-sidebar .setting input[type="url"],2201 .ie7 .media-sidebar .setting textarea {2202 width: 55%;2203 }2204 2205 .ie7 .media-sidebar .setting .link-to-custom {2206 float: left;2207 }2208 2155 2209 2156 /** 2210 2157 * Localization -
src/wp-includes/media-template.php
diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index fb44261cf1..f89ee1c590 100644
a b class="wp-video-shortcode {{ classes.join( ' ' ) }}" 158 158 function wp_print_media_templates() { 159 159 global $is_IE; 160 160 $class = 'media-modal wp-core-ui'; 161 if ( $is_IE && strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 7' ) !== false ) {162 $class .= ' ie7';163 }164 161 ?> 165 <!--[if lte IE 8]>166 <style>167 .attachment:focus {168 outline: #1e8cbe solid;169 }170 .selected.attachment {171 outline: #1e8cbe solid;172 }173 </style>174 <![endif]-->175 162 <script type="text/html" id="tmpl-media-frame"> 176 163 <div class="media-frame-menu"></div> 177 164 <div class="media-frame-title"></div> -
src/wp-includes/theme.php
diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 03640c45ff..1282b02455 100644
a b function wp_customize_url( $stylesheet = null ) { 3158 3158 * to the body tag by default. 3159 3159 * 3160 3160 * @since 3.4.0 3161 * @since 4.7.0 Support for IE8 and below is explicitly removed via conditional comments.3161 * @since 5.1.0 IE8 and older are no longer supported. 3162 3162 */ 3163 3163 function wp_customize_support_script() { 3164 3164 $admin_origin = parse_url( admin_url() ); … … function wp_customize_support_script() { 3166 3166 $cross_domain = ( strtolower( $admin_origin['host'] ) != strtolower( $home_origin['host'] ) ); 3167 3167 3168 3168 ?> 3169 <!--[if lte IE 8]> 3170 <script type="text/javascript"> 3171 document.body.className = document.body.className.replace( /(^|\s)(no-)?customize-support(?=\s|$)/, '' ) + ' no-customize-support'; 3172 </script> 3173 <![endif]--> 3174 <!--[if gte IE 9]><!--> 3175 <script type="text/javascript"> 3176 (function() { 3177 var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)'); 3178 3179 <?php if ( $cross_domain ) : ?> 3180 request = (function(){ var xhr = new XMLHttpRequest(); return ('withCredentials' in xhr); })(); 3181 <?php else : ?> 3182 request = true; 3183 <?php endif; ?> 3184 3185 b[c] = b[c].replace( rcs, ' ' ); 3186 // The customizer requires postMessage and CORS (if the site is cross domain) 3187 b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs; 3188 }()); 3189 </script> 3190 <!--<![endif]--> 3169 <script type="text/javascript"> 3170 (function() { 3171 var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)'); 3172 3173 <?php if ( $cross_domain ) : ?> 3174 request = (function(){ var xhr = new XMLHttpRequest(); return ('withCredentials' in xhr); })(); 3175 <?php else : ?> 3176 request = true; 3177 <?php endif; ?> 3178 3179 b[c] = b[c].replace( rcs, ' ' ); 3180 // The customizer requires postMessage and CORS (if the site is cross domain) 3181 b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs; 3182 }()); 3183 </script> 3191 3184 <?php 3192 3185 } 3193 3186 -
src/wp-login.php
diff --git a/src/wp-login.php b/src/wp-login.php index 1a302a35f1..cc721aa104 100644
a b function login_header( $title = 'Log In', $message = '', $wp_error = null ) { 75 75 $login_title = apply_filters( 'login_title', $login_title, $title ); 76 76 77 77 ?><!DOCTYPE html> 78 <!--[if IE 8]> 79 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php language_attributes(); ?>> 80 <![endif]--> 81 <!--[if !(IE 8) ]><!--> 82 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 83 <!--<![endif]--> 78 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 84 79 <head> 85 80 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" /> 86 81 <title><?php echo $login_title; ?></title>