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

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 4 16:22:06 UTC 2012


#20353: Add filter for email recipients in wp_notify_moderator()
-------------------------+------------------------------
 Reporter:  lexhair      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.3.1
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by lexhair):

 #8833 is a big task.

 Many of the pluggable functions, including wp_notify_moderator() have
 filter hooks already available. This would be a simple line of code which
 I'd be happy to prepare a patch for that would apply a filter.

 I could have made this work by hooking into wp_mail() but phpmailer makes
 the To: address property protected which was giving me fits to manipulate
 it.

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


More information about the wp-trac mailing list