Make WordPress Core

Changeset 2320


Ignore:
Timestamp:
02/14/2005 04:29:53 AM (21 years ago)
Author:
saxmatt
Message:

Send proper header to avoid charset mismatch - http://mosquito.wordpress.org/view.php?id=857

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-blog-header.php

    r2309 r2320  
    110110
    111111if ( !empty($error) && '404' == $error ) {
    112     header('HTTP/1.x 404 Not Found');
     112    @header('HTTP/1.x 404 Not Found');
    113113 } else if ( empty($feed) ) {
    114114    @header('X-Pingback: '. get_bloginfo('pingback_url'));
     115    @header('Content-type: text/html; charset=' . get_option('blog_charset'));
    115116} else {
    116117    // We're showing a feed, so WP is indeed the only thing that last changed
Note: See TracChangeset for help on using the changeset viewer.