From 657d4982baacb667a3b2a1f7f01422af95aef74c Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Mon, 14 Jun 2004 22:43:27 +0000 Subject: [PATCH] send the blog's charset in trackbacks' Content-type git-svn-id: http://svn.automattic.com/wordpress/trunk@1425 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index d70b0956e8..88d8f1eee0 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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;