CoreFiles by mySites.guru
embed-404.php36 lines, 971 bytes, from wordpress-5.2.zip
Raw History Compare with 5.1.28
md5
47142875f2a3caf8a0c4fba193d030bc
sha1
73ed05a981c6eab75f9f5fd15981f47e4766a38e
sha256
73e364bab0b7245af5876767b109a44528d6b140e4e2cb68154dc6585a18eb22
<?php
/**
 * Contains the post embed content template part
 *
 * When a post is embedded in an iframe, this file is used to create the content template part
 * output if the active theme does not include an embed-404.php template.
 *
 * @package WordPress
 * @subpackage Theme_Compat
 * @since 4.5.0
 */
?>
<div class="wp-embed">
	<p class="wp-embed-heading"><?php _e( 'Oops! That embed can&#8217;t be found.' ); ?></p>

	<div class="wp-embed-excerpt">
		<p>
			<?php
			printf(
				/* translators: %s: a link to the embedded site */
				__( 'It looks like nothing was found at this location. Maybe try visiting %s directly?' ),
				'<strong><a href="' . esc_url( home_url() ) . '">' . esc_html( get_bloginfo( 'name' ) ) . '</a></strong>'
			);
			?>
		</p>
	</div>

	<?php
	/** This filter is documented in wp-includes/theme-compat/embed-content.php */
	do_action( 'embed_content' );
	?>

	<div class="wp-embed-footer">
		<?php the_embed_site_title(); ?>
	</div>
</div>

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