CoreFiles by mySites.guru
embed.php24 lines, 481 bytes, from wordpress-5.7.21.zip
Raw History Compare with 5.7.20
md5
c805c5a273be5ed0f4bb71a20f6362ff
sha1
83122efe961361169a7c66b42f921da3ebf51f5f
sha256
72ec50a9ac5aeb7f5073672b2fb7c08c1926051f85a330fc49fa49446c219d39
<?php
/**
 * Contains the post embed base template
 *
 * When a post is embedded in an iframe, this file is used to create the output
 * if the active theme does not include an embed.php template.
 *
 * @package WordPress
 * @subpackage oEmbed
 * @since 4.4.0
 */

get_header( 'embed' );

if ( have_posts() ) :
	while ( have_posts() ) :
		the_post();
		get_template_part( 'embed', 'content' );
	endwhile;
else :
	get_template_part( 'embed', '404' );
endif;

get_footer( 'embed' );

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