Embeds: Tweak the "embed not found" message, based on the Twenty Sixteen 404 template.
See #32522. Built from https://develop.svn.wordpress.org/trunk@35429 git-svn-id: http://core.svn.wordpress.org/trunk@35393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
44fb83dc0b
commit
59b1c9823a
@ -205,10 +205,17 @@ if ( have_posts() ) :
|
|||||||
else :
|
else :
|
||||||
?>
|
?>
|
||||||
<div class="wp-embed">
|
<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 can’t be found.' ); ?></p>
|
||||||
|
|
||||||
<div class="wp-embed-excerpt">
|
<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>
|
||||||
|
|
||||||
<div class="wp-embed-footer">
|
<div class="wp-embed-footer">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-beta2-35428';
|
$wp_version = '4.4-beta2-35429';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user