From cd03493d94fe22fcacbb3b8a97d8004287fde635 Mon Sep 17 00:00:00 2001 From: azaozz 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: http://svn.automattic.com/wordpress/trunk@11820 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-settings.php b/wp-settings.php index f7bd003b9..e66124468 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' ); ?>