[wp-cvs] wordpress wp-blog-header.php,1.125,1.126

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Feb 14 04:29:56 GMT 2005


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5429

Modified Files:
	wp-blog-header.php 
Log Message:
Send proper header to avoid charset mismatch - http://mosquito.wordpress.org/view.php?id=857

Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -d -r1.125 -r1.126
*** wp-blog-header.php	14 Feb 2005 00:49:03 -0000	1.125
--- wp-blog-header.php	14 Feb 2005 04:29:53 -0000	1.126
***************
*** 110,116 ****
  
  if ( !empty($error) && '404' == $error ) {
! 	header('HTTP/1.x 404 Not Found');
   } else if ( empty($feed) ) {
  	@header('X-Pingback: '. get_bloginfo('pingback_url'));
  } else {
  	// We're showing a feed, so WP is indeed the only thing that last changed
--- 110,117 ----
  
  if ( !empty($error) && '404' == $error ) {
! 	@header('HTTP/1.x 404 Not Found');
   } else if ( empty($feed) ) {
  	@header('X-Pingback: '. get_bloginfo('pingback_url'));
+ 	@header('Content-type: text/html; charset=' . get_option('blog_charset'));
  } else {
  	// We're showing a feed, so WP is indeed the only thing that last changed



More information about the cvs mailing list