mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
If no angle brackets, assume email address. Props donncha. fixes #9086 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10541 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -291,7 +291,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
|
||||
$from_email = str_replace( '>', '', $from_email );
|
||||
$from_email = trim( $from_email );
|
||||
} else {
|
||||
$from_name = trim( $content );
|
||||
$from_email = trim( $content );
|
||||
}
|
||||
} elseif ( 'content-type' == strtolower($name) ) {
|
||||
if ( strpos( $content,';' ) !== false ) {
|
||||
|
||||
Reference in New Issue
Block a user