Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#10439 closed enhancement (fixed)

Send Retry-After: header when in maintenance mode

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

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 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @dd32
15 years ago

  • Keywords commit added; needs-testing removed
  • Milestone changed from 2.8.5 to 2.9
  • Version changed from 2.8.1 to 2.8

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

#2 @azaozz
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.