send the blog's charset in trackbacks' Content-type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
802137da74
commit
657d4982ba
|
@ -528,7 +528,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
|||
$trackback_url = parse_url($trackback_url);
|
||||
$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-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";
|
||||
$http_request .= $query_string;
|
||||
|
|
Loading…
Reference in New Issue