[wp-trac] [WordPress Trac] #41228: No way to get the post ID after a comment is deleted
WordPress Trac
noreply at wordpress.org
Mon Oct 2 22:13:31 UTC 2017
#41228: No way to get the post ID after a comment is deleted
--------------------------+-----------------------------
Reporter: henry.wright | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"41689"]:
{{{
#!CommitTicketReference repository="" revision="41689"
Comments: Pass `$comment` object to comment actions:
* `delete_comment`
* `deleted_comment`
* `trash_comment`
* `trashed_comment`
* `untrash_comment`
* `untrashed_comment`
* `spam_comment`
* `spammed_comment`
* `unspam_comment`
* `unspammed_comment`
Props henry.wright.
Fixes #41228.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41228#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list