[wp-trac] [WordPress Trac] #22922: Add filter 'comment_notification_email_to' in wp_notify_postauthor()

WordPress Trac noreply at wordpress.org
Thu Dec 13 17:53:33 UTC 2012


#22922: Add filter 'comment_notification_email_to' in wp_notify_postauthor()
-------------------------------------+-------------------------
 Reporter:  chipbennett              |       Type:  enhancement
   Status:  new                      |   Priority:  normal
Milestone:  Awaiting Review          |  Component:  Comments
  Version:  3.5                      |   Severity:  normal
 Keywords:  has-patch needs-testing  |
-------------------------------------+-------------------------
 Currently, mailto: address is not filterable in pluggable function
 `wp_notify_postauthor()`. Thus, in order to send replies to email
 addresses other than the post author, the entire function must be
 overridden.

 Patch makes mailto: filterable for `wp_notify_postauthor()`, moving
 `$author->user_email` to an array, and applying the
 `'comment_notification_email_to'` filter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22922>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list