sirius-press/wp-includes/theme-compat/embed-404.php
Silent Mode 1f173de885 WordPress 7.1.1
Pristine upstream, unpacked from the official wordpress.org tarball.

  https://wordpress.org/wordpress-7.1.1.tar.gz
  sha1   2a9d68474e8703aa3a66f80427b325e0941b6a1e  (published by wordpress.org)
  sha256 3996fee13448ef12e07e9f0c77db2f655ffa1b7cde71c80a4965d3bf1fb956b3

This branch carries nothing but upstream releases, one commit each, and is
never edited. It is the other side of the git-subtree merge that brings
security releases into SiriusPress/wordpress/ — see
SiriusPress/docs/upstream-merges.md.
2026-09-21 02:53:57 +02:00

36 lines
967 B
PHP

<?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 cannot 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>