WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/11/2007 03:34:50 AM (14 years ago)
Author:
rob1n
Message:

New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409

Also, the new header code to text array has 302 as Found. fixes #4183

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r5195 r5446  
    370370        if ( !$this->show_errors )
    371371            return false;
    372 
     372       
     373        status_header( 503 );
    373374        header('Content-Type: text/html; charset=utf-8');
    374375
Note: See TracChangeset for help on using the changeset viewer.