Changeset 3914

Show
Ignore:
Timestamp:
06/24/06 06:00:13 (3 years ago)
Author:
ryan
Message:

Send Content-type for 404s. Props Nazgul. fixes #2841

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.0/wp-includes/classes.php

    r3771 r3914  
    16101610        if ( !empty($this->query_vars['error']) && '404' == $this->query_vars['error'] ) { 
    16111611            status_header( 404 ); 
     1612            @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 
    16121613        } else if ( empty($this->query_vars['feed']) ) { 
    16131614            @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));