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

WordPress Trac noreply at wordpress.org
Sun Sep 13 09:04:26 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.4
Component:  Comments         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch needs-refresh => has-patch


Comment:

 As suggested initially by @mrahmadawais, [attachment:33717.6.diff
 33717.6.diff] uses the `comment_unapproved_to_approved` hook to only send
 a notification when the comment status changes from unapproved to
 approved.

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


More information about the wp-trac mailing list