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

WordPress Trac noreply at wordpress.org
Sun Dec 20 15:07:37 UTC 2020


#35069: Allow short-circuiting wp_mail
-------------------------------------------------+-------------------------
 Reporter:  DvanKooten                           |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  closed
 Priority:  low                                  |   Milestone:  5.7
Component:  Mail                                 |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49844" 49844]:
 {{{
 #!CommitTicketReference repository="" revision="49844"
 Mail: Introduce a `pre_wp_mail` filter to allow short-circuiting the
 `wp_mail()` function without having to override the pluggable function.

 Props DvanKooten, swissspidy, SergeyBiryukov, jtsternberg, ericlewis,
 Mte90, birgire, ayeshrajans

 Fixes #35069
 }}}

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


More information about the wp-trac mailing list