CoreFiles by mySites.guru
template-canvas.php27 lines, 593 bytes, from wordpress-5.9-beta2.zip
Raw History Compare with 5.9-beta1
md5
d1a9bf92bc5aa6454e201da46bfe9ab1
sha1
8e921a620cfb2a5b2d70192e3e2ea239f855bfc7
sha256
70baab202d3b151f09ab2aa58e5ab573134b52a5446f5a17e1e5664e2da7569b
<?php
/**
 * Template canvas file to render the current 'wp_template'.
 *
 * @package WordPress
 */

/**
 * Get the template HTML.
 * This needs to run before <head> so that blocks can add scripts and styles in wp_head().
 */
$template_html = get_the_block_template_html();
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>" />
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<?php wp_body_open(); ?>

<?php echo $template_html; // phpcs:ignore WordPress.Security.EscapeOutput ?>

<?php wp_footer(); ?>
</body>
</html>

The same content is in 2 releases, WordPress 5.9-beta1 to 5.9-beta2. See them all, or every version of this file.