[wp-cvs] wordpress/wp-includes functions.php,1.120,1.121

Michel Valdrighi michelvaldrighi at users.sourceforge.net
Mon Jun 14 22:43:30 UTC 2004


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

Modified Files:
	functions.php 
Log Message:
send the blog's charset in trackbacks' Content-type

Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -d -r1.120 -r1.121
*** functions.php	14 Jun 2004 22:42:43 -0000	1.120
--- functions.php	14 Jun 2004 22:43:27 -0000	1.121
***************
*** 529,533 ****
  	$http_request  = 'POST ' . $trackback_url['path'] . $trackback_url['query'] . " HTTP/1.0\r\n";
  	$http_request .= 'Host: '.$trackback_url['host']."\r\n";
! 	$http_request .= 'Content-Type: application/x-www-form-urlencoded; charset='."\r\n";
  	$http_request .= 'Content-Length: '.strlen($query_string)."\r\n";
  	$http_request .= "\r\n";
--- 529,533 ----
  	$http_request  = 'POST ' . $trackback_url['path'] . $trackback_url['query'] . " HTTP/1.0\r\n";
  	$http_request .= 'Host: '.$trackback_url['host']."\r\n";
! 	$http_request .= 'Content-Type: application/x-www-form-urlencoded; charset='.get_settings('blog_charset')."\r\n";
  	$http_request .= 'Content-Length: '.strlen($query_string)."\r\n";
  	$http_request .= "\r\n";




More information about the cvs mailing list