diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index ce22688db8..62f5c8eb66 100644
--- a/src/wp-admin/includes/template.php
+++ b/src/wp-admin/includes/template.php
@@ -2332,11 +2332,12 @@ function _wp_admin_html_begin() {
 		@header( 'X-UA-Compatible: IE=edge' );
 	}
 
-	?>
+	echo <<<HTML
 <!DOCTYPE html>
 <!--[if IE 8]>
-<html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>"
-	<?php
+<html xmlns="http://www.w3.org/1999/xhtml" class="ie8 $admin_html_class" 
+HTML;
+
 	/**
 	 * Fires inside the HTML tag in the admin header.
 	 *
@@ -2345,19 +2346,23 @@ function _wp_admin_html_begin() {
 	do_action( 'admin_xml_ns' );
 
 	language_attributes();
-	?>
-	>
+
+	echo <<<HTML
+>
 <![endif]-->
 <!--[if !(IE 8) ]><!-->
-<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>"
-	<?php
+<html xmlns="http://www.w3.org/1999/xhtml" class="$admin_html_class" 
+HTML;
 	/** This action is documented in wp-admin/includes/template.php */
 	do_action( 'admin_xml_ns' );
 
 	language_attributes();
-	?>
-	>
+
+	echo <<<HTML
+>
 <!--<![endif]-->
+HTML;
+	?>
 <head>
 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" />
 	<?php
