[wp-hackers] Single Hook for Comment Status?

Peter Adams peter at oncefuture.com
Sat Aug 21 19:32:43 UTC 2010

Is there a single hook for checking comment status?

It seems that one has to hook both comment_post and transition_comment_status to cover new comments and edited/moderated comments respectively.

Is that right?

If so, any objections to adding transition_comment_status hook to wp_new_comment() so plugin developers can use one hook for comment status just like with posts?


More information about the wp-hackers mailing list