[wp-trac] [WordPress Trac] #30627: Fails to update comment type using wp_update_comment

WordPress Trac noreply at wordpress.org
Mon Dec 8 14:07:36 UTC 2014


#30627: Fails to update comment type using wp_update_comment
--------------------------+-----------------------------
 Reporter:  desaiuditd    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Comments      |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by boonebgorges):

 > Shouldn't this go with the next 4.1 release since I'm assuming this to
 be a major change for comments module and any developer would expect this
 to work if they are updating a comment_type.

 This is a reasonable request, but it's not a regression in 4.1.
 `wp_update_comment()` was introduced in r2894 and has never updated
 'comment_type'. And while the flexibility of 'comment_type' is improved in
 r30096, it has been around for far longer.

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


More information about the wp-trac mailing list