[wp-trac] [WordPress Trac] #23291: wp_mail should handle phpmailer exceptions instead of ignoring them

WordPress Trac noreply at wordpress.org
Sun Jan 27 07:51:22 UTC 2013


#23291: wp_mail should handle phpmailer exceptions instead of ignoring them
-------------------------+------------------------------
 Reporter:  mark-k       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Mail         |     Version:  3.5
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by mark-k):

 Replying to [comment:17 rmccue]:

 > Replying to [comment:16 mark-k]:
 > > Adding the parameter will fail because if you change the core to use
 it you will get errors on sites which override wp_mail and didn't update
 the function's signature
 >
 > Providing extra parameters to functions doesn't cause an error (with the
 exception of a few built-in PHP functions), so this isn't an issue. The
 only issue is if people are using an extra parameter for internal
 parameter passing, in which case they shouldn't be overriding `wp_mail()`
 with that.

 Sure, me bad, haven't had enough coffee yet.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23291#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list