mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
aaf99e6913
WordPress' code just... wasn't. This is now dealt with. Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS. Fixes #41057. Built from https://develop.svn.wordpress.org/trunk@42343 git-svn-id: http://core.svn.wordpress.org/trunk@42172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
31 lines
837 B
PHP
31 lines
837 B
PHP
<?php
|
|
/**
|
|
* Template for displaying 404 pages (Not Found)
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Ten
|
|
* @since Twenty Ten 1.0
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
<div id="container">
|
|
<div id="content" role="main">
|
|
|
|
<div id="post-0" class="post error404 not-found">
|
|
<h1 class="entry-title"><?php _e( 'Not Found', 'twentyten' ); ?></h1>
|
|
<div class="entry-content">
|
|
<p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'twentyten' ); ?></p>
|
|
<?php get_search_form(); ?>
|
|
</div><!-- .entry-content -->
|
|
</div><!-- #post-0 -->
|
|
|
|
</div><!-- #content -->
|
|
</div><!-- #container -->
|
|
<script type="text/javascript">
|
|
// focus on search field after it has loaded
|
|
document.getElementById('s') && document.getElementById('s').focus();
|
|
</script>
|
|
|
|
<?php get_footer(); ?>
|