diff --git a/wp-includes/classes.php b/wp-includes/classes.php index a4ecc54c40..976a727608 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -234,6 +234,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 {