WordPress.org

Make WordPress Core

Ticket #27870: 404.php

File 404.php, 417 bytes (added by gonnabecake, 5 years ago)

Simple 404 page for the admin

Line 
1<?php
2/**
3 * Administration 404 page.
4 *
5 * @package WordPress
6 * @subpackage Administration
7 */
8
9/** Load WordPress Bootstrap */
10require_once( dirname( __FILE__ ) . '/admin.php' );
11
12include( ABSPATH . 'wp-admin/admin-header.php' );
13?>
14
15<div class="wrap">
16
17<h1>Page not found!</h1>
18<p>The page you're trying to access does not exist.</p>
19 
20</div><!-- wrap -->
21
22<?php
23require( ABSPATH . 'wp-admin/admin-footer.php' );