Comment transition for new comments
|Reported by:||MattyRob||Owned by:|
|Component:||Comments||Keywords:||has-patch dev-feedback needs-refresh needs-docs|
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 (29)
- Keywords dev-feedback removed
- Type changed from defect (bug) to enhancement
- Keywords dev-feedback added
- Severity changed from normal to minor