Opened 5 months ago
Last modified 5 months ago
#22922 new enhancement
Add filter 'comment_notification_email_to' in wp_notify_postauthor()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Comments | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: |
Description
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.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

Related: #20353