Fixed problem with X-Mailer header

git-svn-id: https://develop.svn.wordpress.org/trunk@441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dougal Campbell 2003-10-09 16:06:29 +00:00
parent 95b9b7864a
commit ceeeaba1ca
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ if ((strlen(''.$tb_id)) && (empty($HTTP_GET_VARS['__mode'])) && (strlen(''.$tb_u
$subject = '[' . stripslashes($blogname) . '] Trackback: "' .stripslashes($postdata['Title']).'"';
$from = "From: wordpress@".$HTTP_SERVER_VARS['SERVER_NAME'];
$from .= "X-Mailer: WordPress $b2_version with PHP/" . phpversion();
$from .= "\r\nX-Mailer: WordPress $b2_version with PHP/" . phpversion();
@mail($authordata->user_email, $subject, $notify_message, $from);
}