[wp-trac] [WordPress Trac] #20353: Add filter for email recipients in wp_notify_moderator()

WordPress Trac noreply at wordpress.org
Fri Aug 23 19:35:04 UTC 2013


#20353: Add filter for email recipients in wp_notify_moderator()
-------------------------------------+---------------------
 Reporter:  lexhair                  |       Owner:  nacin
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  3.7
Component:  Comments                 |     Version:  3.3.1
 Severity:  minor                    |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25104"]:
 {{{
 #!CommitTicketReference repository="" revision="25104"
 Add filters to the recipients of emails sent by wp_notify_postauthor() and
 wp_notify_moderator().

 The new filters are called comment_notification_recipients and
 comment_moderation_recipients.

 Add the context of $comment_id to the comment_moderation_headers filter,
 to match the comment_notification_headers filter.

 props chipbennett.
 fixes #22922, #20353.
 }}}

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


More information about the wp-trac mailing list