Make WordPress Core

Ticket #25575: 25575.3.patch

File 25575.3.patch, 973 bytes (added by azaozz, 12 years ago)
  • src/wp-admin/includes/template.php

     
    16881688        global $is_IE;
    16891689
    16901690        $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : '';
     1691
     1692        if ( $is_IE )
     1693                @header('X-UA-Compatible: IE=edge');
    16911694?>
    16921695<!DOCTYPE html>
    16931696<!--[if IE 8]>
     
    16971700<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    16981701<!--<![endif]-->
    16991702<head>
    1700 <?php
    1701         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                 <?php
    1706         }
    1707 ?>
    17081703<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    17091704<?php
    17101705}