CoreFiles by mySites.guru
template-canvas.php27 lines, 544 bytes, from wordpress-7.1.4.zip
Raw History Compare with 7.1.3
md5
b61f62ce5ce24b93a867163576d16d78
sha1
26e2841895305350d4d35b0c5cafa83edebb4da2
sha256
a1a8a7ed542c25d96c78d51438d84b3a7e053ded953f3452ae38f6b84f71038a
<?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; ?>

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

The same content is in 176 releases, WordPress 6.4-beta2 to 7.2-beta5. See them all, or every version of this file.