CoreFiles by mySites.guru
header-embed.php32 lines, 702 bytes, from wordpress-7.1.4.zip
Raw History Compare with 7.1.3
md5
4f6d7a38ca1c99174612da10b0901fcf
sha1
9cc49d5a4142478a197dd40c577d8dfc5edef5e6
sha256
f5ba9f25812866f8e61cb3dc3b33646a8d9e12e23effe1e29dbae978d524f76d
<?php
/**
 * Contains the post embed header template
 *
 * When a post is embedded in an iframe, this file is used to create the header output
 * if the active theme does not include a header-embed.php template.
 *
 * @package WordPress
 * @subpackage Theme_Compat
 * @since 4.5.0
 */

if ( ! headers_sent() ) {
	header( 'X-WP-embed: true' );
}

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
	<title><?php echo wp_get_document_title(); ?></title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<?php
	/**
	 * Prints scripts or data in the embed template head tag.
	 *
	 * @since 4.4.0
	 */
	do_action( 'embed_head' );
	?>
</head>
<body <?php body_class(); ?>>

The same content is in 481 releases, WordPress 5.4-beta1 to 7.2-beta5. See them all, or every version of this file.