Make WordPress Core


Ignore:
Timestamp:
09/13/2007 05:00:46 AM (17 years ago)
Author:
markjaquith
Message:

Check for apply_filters() in status_header() so that it can be called early on in load process

File:
1 edited

Legend:

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

    r6104 r6107  
    804804        $protocol = 'HTTP/1.0';
    805805    $status_header = "$protocol $header $text";
    806     $status_header = apply_filters('status_header', $status_header, $header, $text, $protocol);
     806    if ( function_exists('apply_filters') )
     807        $status_header = apply_filters('status_header', $status_header, $header, $text, $protocol);
    807808
    808809    if ( version_compare( phpversion(), '4.3.0', '>=' ) ) {
Note: See TracChangeset for help on using the changeset viewer.