CoreFiles by mySites.guru
template-canvas.php27 lines, 592 bytes, from wordpress-6.3.13.zip
Raw History Compare with 6.3.12
md5
d927f321e8b42753a9427cc88c048d1a
sha1
b06c7dae5ff4d8db8f698c51a9a48d5e2e1b73ce
sha256
27a68a41806bdb23849289a98c1441ed33f042b8e579fd297ba98ac67fd0911c
<?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 138 releases, WordPress 5.9-beta3 to 6.4-beta1. See them all, or every version of this file.