Embeds: Tweak the "embed not found" message, based on the Twenty Sixteen 404 template.

See #32522.



git-svn-id: https://develop.svn.wordpress.org/trunk@35429 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2015-10-29 11:09:39 +00:00
parent 9b47d5fcd6
commit 01f507a051
1 changed files with 9 additions and 2 deletions

View File

@ -205,10 +205,17 @@ if ( have_posts() ) :
else :
?>
<div class="wp-embed">
<p class="wp-embed-heading"><?php _e( 'Page not found' ); ?></p>
<p class="wp-embed-heading"><?php _e( 'Oops! That embed cant be found.' ); ?></p>
<div class="wp-embed-excerpt">
<p><?php _e( 'Error 404! The requested content was not found.' ) ?></p>
<p>
<?php
printf(
__( '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>
<div class="wp-embed-footer">