[wp-trac] [WordPress Trac] #49236: Use 'comment' instead of '' for the comment_type db field for comments

WordPress Trac noreply at wordpress.org
Fri Apr 17 19:34:07 UTC 2020


#49236: Use 'comment' instead of '' for the comment_type db field for comments
--------------------------------------------+-----------------------------
 Reporter:  imath                           |       Owner:  SergeyBiryukov
     Type:  enhancement                     |      Status:  closed
 Priority:  normal                          |   Milestone:  5.5
Component:  Comments                        |     Version:  5.4
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch early needs-dev-note  |     Focuses:
--------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47597" 47597]:
 {{{
 #!CommitTicketReference repository="" revision="47597"
 Comments: Use `comment` instead of an empty string for the `comment_type`
 DB field value in comments table.

 This is the first step to bring support for custom comment types into
 WordPress.

 Add a scheduled upgrade routine to update the type value for existing
 comments, in batches of 100 at a time.

 Props imath, aaroncampbell, jeremyfelt, dshanske.
 Fixes #49236.
 }}}

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


More information about the wp-trac mailing list