Make WordPress Core


Ignore:
Timestamp:
09/19/2007 04:27:56 AM (19 years ago)
Author:
ryan
Message:

Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997

File:
1 edited

Legend:

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

    r6110 r6137  
    12421242
    12431243        if ( !function_exists('did_action') || !did_action('admin_head') ) :
    1244         status_header(500);
    1245         nocache_headers();
    1246         header('Content-Type: text/html; charset=utf-8');
     1244        if( !headers_sent() ){
     1245                status_header(500);
     1246                nocache_headers();
     1247                header('Content-Type: text/html; charset=utf-8');
     1248        }
    12471249
    12481250        if ( empty($title) ){
Note: See TracChangeset for help on using the changeset viewer.