CoreFiles by mySites.guru
hidden-404.php30 lines, 1,714 bytes, from wordpress-7.2-RC2.zip
Raw History Compare with 7.2-RC1
md5
15e0ddc68e31f7dbc9c194a6d002d6de
sha1
024fc9a27487cb92addc0cbeefa9fd10952be21c
sha256
37de10dd75fda3b94e7b9f90ac98674c866bde6ac2264898f3023e7c40fd3508
<?php
/**
 * Title: 404
 * Slug: ipsum/hidden-404
 * Template Types: 404
 * Inserter: no
 * Description: The 404 template. It has the theme header, a “Page not found.” heading and a short note over the search field, and the theme footer.
 *
 * @package Ipsum
 * @since Ipsum 1.0
 */

?>
<!-- wp:template-part {"slug":"header"} /-->

<!-- wp:group {"tagName":"main","metadata":{"name":"<?php echo esc_html_x( 'Body', 'Name of the main content area group', 'ipsum' ); ?>"},"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Post Title', 'Name of the group holding the post title', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":1,"fitText":true} -->
<h1 class="wp-block-heading has-fit-text"><?php esc_html_e( 'Page not found.', 'ipsum' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php esc_html_e( 'The page you are looking for doesn\'t exist, or it has been moved. Please try searching using the form below.', 'ipsum' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:search {"label":"<?php esc_attr_e( 'Search', 'ipsum' ); ?>","showLabel":false,"placeholder":"<?php esc_attr_e( 'Type here...', 'ipsum' ); ?>","buttonText":"<?php esc_attr_e( 'Search', 'ipsum' ); ?>","buttonPosition":"button-inside","buttonUseIcon":true,"ariaLabel":"<?php echo esc_attr_x( 'Site', 'Accessible name of the search form', 'ipsum' ); ?>"} /--></main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer"} /-->

The same content is in 2 releases, WordPress 7.2-RC1 to 7.2-RC2. See them all, or every version of this file.