[wp-trac] [WordPress Trac] #16365: Comment transition for new comments

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 24 21:07:47 UTC 2011


#16365: Comment transition for new comments
--------------------------+-----------------------------
 Reporter:  MattyRob      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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'.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16365>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list