wp/wp-includes/template-canvas.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
     3  * Template canvas file to render the current 'wp_template'.
     3  * Template canvas file to render the current 'wp_template'.
     4  *
     4  *
     5  * @package WordPress
     5  * @package WordPress
     6  */
     6  */
     7 
     7 
     8 /**
     8 /*
     9  * Get the template HTML.
     9  * Get the template HTML.
    10  * This needs to run before <head> so that blocks can add scripts and styles in wp_head().
    10  * This needs to run before <head> so that blocks can add scripts and styles in wp_head().
    11  */
    11  */
    12 $template_html = get_the_block_template_html();
    12 $template_html = get_the_block_template_html();
    13 ?>
    13 ?><!DOCTYPE html>
    14 <!DOCTYPE html>
       
    15 <html <?php language_attributes(); ?>>
    14 <html <?php language_attributes(); ?>>
    16 <head>
    15 <head>
    17 	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    16 	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    18 	<?php wp_head(); ?>
    17 	<?php wp_head(); ?>
    19 </head>
    18 </head>