WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/12/2007 04:24:17 PM (14 years ago)
Author:
rob1n
Message:

Don't call the function if it doesn't exist yet. fixes #4249

File:
1 edited

Legend:

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

    r5446 r5455  
    371371            return false;
    372372       
    373         status_header( 503 );
     373        if ( function_exists( 'status_header' ) ) {
     374            status_header( 503 );
     375        }
     376       
    374377        header('Content-Type: text/html; charset=utf-8');
    375378
Note: See TracChangeset for help on using the changeset viewer.