[wp-trac] [WordPress Trac] #30266: wp_mail() can send emails with a blank 'From' address
WordPress Trac
noreply at wordpress.org
Tue Apr 7 20:09:48 UTC 2015
#30266: wp_mail() can send emails with a blank 'From' address
------------------------------+---------------------------
Reporter: drtonyb | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Mail | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+---------------------------
Changes (by boonebgorges):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"32070"]:
{{{
#!CommitTicketReference repository="" revision="32070"
Improve handling of incomplete From and Content-Type headers in
`wp_mail()`.
When an incomplete header is provided (eg, 'From' with an email address
but no
name), ensure that the WP defaults are filled in properly.
Props valendesigns.
Fixes #30266.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30266#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list