Opened 4 years ago

Closed 4 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:

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

Download all attachments as: .zip

Change History (3)

comment:1   dd324 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..

  • 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.