WordPress.org

Make WordPress Core

Changeset 11820


Ignore:
Timestamp:
08/15/09 08:10:56 (5 years ago)
Author:
azaozz
Message:

Send Retry-After header when in maintenance mode, props sirzooro, fixes #10439

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r11760 r11820  
    124124        header( "$protocol 503 Service Unavailable", true, 503 ); 
    125125        header( 'Content-Type: text/html; charset=utf-8' ); 
     126        header( 'Retry-After: 600' ); 
    126127?> 
    127128<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
Note: See TracChangeset for help on using the changeset viewer.