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

WordPress Trac noreply at wordpress.org
Fri Feb 20 09:55:26 UTC 2015


#16365: Comment transition for new comments
------------------------------------+-----------------------------
 Reporter:  MattyRob                |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Comments                |     Version:  3.1
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by DrewAPicture):

 Replying to [comment:15 helen]:
 > Is `wp_insert_comment` not sufficient for what's needed? There are
 definitely plugins that send notifications for all new comments.

 I think there's a reasonable case to be made for consistency with how post
 transitions are handled. If you flip the argument on its head, shouldn't
 the `wp_insert_post` hook be enough for new posts? And yet we still use
 `wp_transition_post_status()` which affords use of those hooks for new
 posts.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16365#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list