Fixed problem with X-Mailer header
git-svn-id: http://svn.automattic.com/wordpress/trunk@441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11dda1b437
commit
a2820c3e63
|
@ -86,7 +86,7 @@ if ((strlen(''.$tb_id)) && (empty($HTTP_GET_VARS['__mode'])) && (strlen(''.$tb_u
|
||||||
$subject = '[' . stripslashes($blogname) . '] Trackback: "' .stripslashes($postdata['Title']).'"';
|
$subject = '[' . stripslashes($blogname) . '] Trackback: "' .stripslashes($postdata['Title']).'"';
|
||||||
|
|
||||||
$from = "From: wordpress@".$HTTP_SERVER_VARS['SERVER_NAME'];
|
$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);
|
@mail($authordata->user_email, $subject, $notify_message, $from);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue