diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 0f99d52e7a..1872e1d380 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -1609,6 +1609,7 @@ class WP { nocache_headers(); if ( !empty($this->query_vars['error']) && '404' == $this->query_vars['error'] ) { status_header( 404 ); + @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); } else if ( empty($this->query_vars['feed']) ) { @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); } else {