git-svn-id: http://svn.automattic.com/wordpress/trunk@2361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-17 09:03:23 +00:00
parent 11aea9b0bc
commit e39c8e0706
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
$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 .= "\r\n\r\n";
$http_request .= $query_string;
if ( '' == $trackback_url['port'] )
$trackback_url['port'] = 80;