CoreFiles by mySites.guru
template-canvas.php28 lines, 594 bytes, from wordpress-5.8.3.zip
Raw History Compare with 5.8.2
md5
ca73c4e9b56ca7cf031f9c6d4ea1e151
sha1
7141bcdb68ee6ebc199730b92142b04534b22986
sha256
f84e5be41fab8d7415219d663dfd908a9366372462f5b74fc69ef1b4fe8e717a
<?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 30 releases, WordPress 5.8-beta1 to 5.8.19. See them all, or every version of this file.