Ticket #25575: 25575.3.patch
| File 25575.3.patch, 973 bytes (added by , 12 years ago) |
|---|
-
src/wp-admin/includes/template.php
1688 1688 global $is_IE; 1689 1689 1690 1690 $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : ''; 1691 1692 if ( $is_IE ) 1693 @header('X-UA-Compatible: IE=edge'); 1691 1694 ?> 1692 1695 <!DOCTYPE html> 1693 1696 <!--[if IE 8]> … … 1697 1700 <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 1698 1701 <!--<![endif]--> 1699 1702 <head> 1700 <?php1701 if ( $is_IE ) {1702 // Lock the IE compatibility mode to the highest supported document mode by the browser.1703 ?>1704 <meta http-equiv="X-UA-Compatible" content="IE=edge" />1705 <?php1706 }1707 ?>1708 1703 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 1709 1704 <?php 1710 1705 }