[wp-trac] [WordPress Trac] #30266: wp_mail() can send emails with a blank 'From' address

WordPress Trac noreply at wordpress.org
Sat Nov 8 19:44:57 UTC 2014


#30266: wp_mail() can send emails with a blank 'From' address
-------------------------------------+------------------------------
 Reporter:  drtonyb                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Mail                     |     Version:  4.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by valendesigns):

 * keywords:   => has-patch needs-testing


Comment:

 I've change the `!isset` to `empty` in the `wp_mail()` function for the
 `$from_name`, `$from_email`, `$content_type`, and `$charset` conditionals.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30266#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list