diff --git a/wp-includes/load.php b/wp-includes/load.php index 684659d57e..89d1491ad9 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -213,32 +213,17 @@ function wp_maintenance() { require_once( WP_CONTENT_DIR . '/maintenance.php' ); die(); } - + + require_once( ABSPATH . WPINC . '/functions.php' ); wp_load_translations_early(); - $protocol = wp_get_server_protocol(); - header( "$protocol 503 Service Unavailable", true, 503 ); - header( 'Content-Type: text/html; charset=utf-8' ); header( 'Retry-After: 600' ); - $dir_attr = ''; - if ( is_rtl() ) { - $dir_attr = ' dir="rtl"'; - } - ?> - - > - - - <?php _e( 'Maintenance' ); ?> - - - -

- - -