[wp-trac] [WordPress Trac] #14078: Don't send notifications for comments too early
WordPress Trac
noreply at wordpress.org
Fri Sep 25 05:36:34 UTC 2015
#14078: Don't send notifications for comments too early
-------------------------+---------------------------
Reporter: mrmist | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Comments | Version: 3.0
Severity: minor | Resolution: fixed
Keywords: | Focuses:
-------------------------+---------------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"34537"]:
{{{
#!CommitTicketReference repository="" revision="34537"
Send comment approval notification to post author via hook.
This is part of the project of #33587.
Moving this particular message to the
'wp_set_comment_status' action has the added bonus that the notification
is
sent after the comment status has been updated in the database.
Previously, a
database error could lead to a case where an approval notification is
sent,
but the comment status change fails for some reason.
Props mrmist, NickDuncan.
Fixes #14078.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14078#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list