[wp-trac] [WordPress Trac] #33587: Notification Functions Should be Replaced by Hooks

WordPress Trac noreply at wordpress.org
Mon Sep 14 02:16:04 UTC 2015


#33587: Notification Functions Should be Replaced by Hooks
-------------------------+------------------
 Reporter:  dshanske     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.4
Component:  Mail         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"34106"]:
 {{{
 #!CommitTicketReference repository="" revision="34106"
 Send comment notification emails via a hooked function.

 Previously, `wp_notify_postauthor()` and `wp_notify_moderator()` were
 called
 directly from `wp_new_comment()`, making it difficult to modify or
 suppress
 default notification emails.

 Props dshanske, thomaswm.
 See #33587.
 }}}

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


More information about the wp-trac mailing list