Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10439 closed enhancement (fixed)

Send Retry-After: header when in maintenance mode

Reported by: sirzooro Owned by: dd32
Priority: normal Milestone: 2.9
Component: Upgrade/Install Version: 2.8
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

It will be good to send Retry-After: header when WP is in maintenance mode, to inform bots when they can try again. Attached patch adds this header with value 600 (10 minutes).

Attachments (1)

wp-settings.php.diff (485 bytes ) - added by sirzooro 17 years ago.

Download all attachments as: .zip

Change History (3)

#1 @dd32
17 years ago

  • Keywords commit added; needs-testing removed
  • Milestone 2.8.52.9
  • Version 2.8.12.8

Sounds good to me, I cant see it causing a negative impact on anything..

#2 @azaozz
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [11820]) Send Retry-After header when in maintenance mode, props sirzooro, fixes #10439

Note: See TracTickets for help on using tickets.