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:
parent
95b9b7864a
commit
ceeeaba1ca
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user