Make WordPress Core

Ticket #25575: 25575.patch

File 25575.patch, 939 bytes (added by azaozz, 13 years ago)
  • src/wp-admin/includes/template.php

     
    16851685}
    16861686
    16871687function _wp_admin_html_begin() {
     1688        global $is_IE;
     1689
    16881690        $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : '';
    16891691?>
    16901692<!DOCTYPE html>
     
    16951697<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    16961698<!--<![endif]-->
    16971699<head>
     1700<?php
     1701        if ( $is_IE ) {
     1702                // Lock the IE compatibility mode to the highest supported document mode of the browser.
     1703                ?>
     1704                <meta http-equiv="X-UA-Compatible" content="IE=edge" />
     1705                <?php
     1706        }
     1707?>
    16981708<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    16991709<?php
    17001710}