Ticket #22446: 22446-icon-placement-v2.diff
File 22446-icon-placement-v2.diff, 1.9 KB (added by , 12 years ago) |
---|
-
wp-includes/css/media-views.css
484 484 user-select: none; 485 485 } 486 486 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 487 501 .selected.attachment { 488 502 box-shadow: 489 503 0 0 0 1px #fff, -
wp-admin/includes/template.php
1634 1634 return $button; 1635 1635 } 1636 1636 1637 function is_ie_browser() { 1638 if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 8') !== false ) 1639 echo 'ie8'; 1640 if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9') !== false ) 1641 echo 'ie9'; 1642 if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 10') !== false ) 1643 echo 'ie10'; 1644 } 1645 1637 1646 function _wp_admin_html_begin() { 1638 1647 $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : ''; 1639 1648 ?> 1640 1649 <!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) ]><!--> 1645 <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 1650 <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?> <?php is_ie_browser(); ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 1646 1651 <!--<![endif]--> 1647 1652 <head> 1648 1653 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />