[wp-trac] [WordPress Trac] #35069: Allow short-circuiting wp_mail

WordPress Trac noreply at wordpress.org
Fri Dec 18 05:14:22 UTC 2015


#35069: Allow short-circuiting wp_mail
----------------------------------------+--------------------------
 Reporter:  DvanKooten                  |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  4.5
Component:  Mail                        |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  performance
----------------------------------------+--------------------------

Comment (by jtsternberg):

 [35069-2.diff](https://core.trac.wordpress.org/attachment/ticket/35069/35069-2.diff)
 Checks for an array return from the wp_mail filter and bails if the return
 is not an array. I think this approach seems the most sane to me.

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


More information about the wp-trac mailing list