From d596c91d88a0e8e81fc91b2cd547a9bf8ebb2320 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: https://develop.svn.wordpress.org/trunk@1425 602fd350-edb4-49c9-b593-d223f7449a82 --- 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;