WordPress.org

Make WordPress Core

Ticket #22446: 22446-icon-placement-v4.diff

File 22446-icon-placement-v4.diff, 1.8 KB (added by lessbloat, 5 years ago)

Removes stray endif

  • wp-includes/css/media-views.css

     
    484484        user-select:         none;
    485485}
    486486
     487.ie8 .attachments .attachment,
     488.ie9 .attachments .attachment,
     489.ie10 .attachments .attachment {
     490        text-align: center;
     491}
     492.ie8 .attachments .attachment .icon,
     493.ie9 .attachments .attachment .icon,
     494.ie10 .attachments .attachment .icon {
     495        padding-top: 20%;
     496        position: relative;
     497        left: 0;
     498        top: 0;
     499}
     500
    487501.selected.attachment {
    488502        box-shadow:
    489503                0 0 0 1px #fff,
  • wp-admin/includes/template.php

     
    16361636
    16371637function _wp_admin_html_begin() {
    16381638        $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : '';
     1639
     1640        if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 8') !== false )
     1641                $admin_html_class .= ' ie8';
     1642        if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9') !== false )
     1643                $admin_html_class .= ' ie9';
     1644        if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 10') !== false )
     1645                $admin_html_class .= ' ie10';
    16391646?>
    16401647<!DOCTYPE html>
    1641 <!--[if IE 8]>
    1642 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    1643 <![endif]-->
    1644 <!--[if !(IE 8) ]><!-->
    16451648<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    1646 <!--<![endif]-->
    16471649<head>
    16481650<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    16491651<?php