From 39f2c3c6f042e3f690c825da9a4763441eda2a5e Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sat, 15 Aug 2009 08:10:56 +0000 Subject: [PATCH] Send Retry-After header when in maintenance mode, props sirzooro, fixes #10439 git-svn-id: https://develop.svn.wordpress.org/trunk@11820 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-settings.php b/wp-settings.php index f7bd003b9a..e66124468d 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -123,6 +123,7 @@ if ( file_exists(ABSPATH . '.maintenance') && !defined('WP_INSTALLING') ) { $protocol = 'HTTP/1.0'; header( "$protocol 503 Service Unavailable", true, 503 ); header( 'Content-Type: text/html; charset=utf-8' ); + header( 'Retry-After: 600' ); ?>