[wp-trac] [WordPress Trac] #33717: Send Notification Email When a Comment is Approved From Moderation

WordPress Trac noreply at wordpress.org
Sat Dec 12 12:19:37 UTC 2015


#33717: Send Notification Email When a Comment is Approved From Moderation
--------------------------------------+-------------------------
 Reporter:  jeffr0                    |       Owner:  swissspidy
     Type:  feature request           |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.5
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by swissspidy):

 * milestone:  Future Release => 4.5


Comment:

 [attachment:33717.10.diff] is a new version of the patch that applies
 cleanly against trunk, as I'd really like to see this in 4.5.

 Differences to the previous patch:

 * New function name: `wp_new_comment_notify_comment_author`
 * Some refined wording, e.g. do not use "Howdy %s," when comment author
 name is empty
 * Do not send email when comment author email is empty
 * A bunch of new unit tests to test for every possible scenario

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


More information about the wp-trac mailing list