Make WordPress Core

Ticket #43534: 43534.2.diff

File 43534.2.diff, 1.3 KB (added by pento, 7 years ago)
  • src/wp-admin/includes/template.php

    diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
    index ce22688db8..62f5c8eb66 100644
    a b function _wp_admin_html_begin() { 
    23322332                @header( 'X-UA-Compatible: IE=edge' );
    23332333        }
    23342334
    2335         ?>
     2335        echo <<<HTML
    23362336<!DOCTYPE html>
    23372337<!--[if IE 8]>
    2338 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>"
    2339         <?php
     2338<html xmlns="http://www.w3.org/1999/xhtml" class="ie8 $admin_html_class"
     2339HTML;
     2340
    23402341        /**
    23412342         * Fires inside the HTML tag in the admin header.
    23422343         *
    function _wp_admin_html_begin() { 
    23452346        do_action( 'admin_xml_ns' );
    23462347
    23472348        language_attributes();
    2348         ?>
    2349         >
     2349
     2350        echo <<<HTML
     2351>
    23502352<![endif]-->
    23512353<!--[if !(IE 8) ]><!-->
    2352 <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>"
    2353         <?php
     2354<html xmlns="http://www.w3.org/1999/xhtml" class="$admin_html_class"
     2355HTML;
    23542356        /** This action is documented in wp-admin/includes/template.php */
    23552357        do_action( 'admin_xml_ns' );
    23562358
    23572359        language_attributes();
    2358         ?>
    2359         >
     2360
     2361        echo <<<HTML
     2362>
    23602363<!--<![endif]-->
     2364HTML;
     2365        ?>
    23612366<head>
    23622367<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" />
    23632368        <?php