git-svn-id: http://svn.automattic.com/wordpress/trunk@2334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-14 09:48:48 +00:00
parent f8efc5c837
commit d973258889
1 changed files with 1 additions and 0 deletions

View File

@ -631,6 +631,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
$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 .= "User-Agent: WordPress/" . get_settings('version');
$http_request .= "\r\n";
$http_request .= $query_string;
if ( '' == $trackback_url['port'] )