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

WordPress Trac noreply at wordpress.org
Fri Feb 27 17:54:47 UTC 2015


#16365: Comment transition for new comments
-------------------------------------------------+-------------------------
 Reporter:  MattyRob                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.2
Component:  Comments                             |     Version:  3.1
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:
  refresh needs-docs                             |
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-refresh
     needs-docs


Comment:

 As discussed in the above-linked Slack discussion, the positive consensus
 is that this would be worth considering as it more closely mimics the
 behavior of creating new posts. This with the caveat that comments don't
 get the auto-draft status.

 The patch needs a refresh, and I would recommend adding a changelog entry
 to `wp_transition_comment_status()` DocBlock to mention that a new comment
 status, 'new', was added in 4.2.0. This would be with the implication that
 new permutations of the `comment_{$old_status}_to_{$new_status}` and
 `comment_{$new_status}_{$comment->comment_type}` hooks would also be in
 play. Happy to assist with those documentation additions.

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


More information about the wp-trac mailing list