Comment transition for new comments
|Reported by:||MattyRob||Owned by:|
As far as I can tell wp_transitions_comment_status() does not get called for new 'comments' based on my testing and review of comment.php in wp-includes.
There is a similar transition for posts that gets called for new 'posts' including hooks like 'new_to_publish' and 'new_to_private'.
I feel that there should be a similar hook to this form comments so that plugins can hook into new comments differently from comments moved from one existing status to another (like comment_unapproved_to_approved'.
Change History (16)
- Keywords dev-feedback removed
- Type changed from defect (bug) to enhancement
comment:11 in reply to: ↑ 8 MattyRob — 2 years ago
- Keywords dev-feedback added
- Severity changed from normal to minor