[wp-trac] [WordPress Trac] #33717: Send Notification Email When a Comment is Approved From Moderation
WordPress Trac
noreply at wordpress.org
Thu Oct 22 16:04: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.4
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------
Changes (by swissspidy):
* keywords: has-patch => has-patch has-unit-tests
Comment:
[attachment:33717.9.diff] makes it easier to remove the the functionality.
If you remove the action, e.g. using `remove_action(
'comment_unapproved_to_approved', 'wp_new_comment_notify_commenter' )`,
the "You will receive an email when it gets approved." message won't be
displayed.
The patch also fixes translator comments in the email and adds a unit
test.
Oh, and yes, "Your comment has been approved" is definitely better than
"Your comment got approved".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33717#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list