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

WordPress Trac noreply at wordpress.org
Fri Aug 7 16:25:43 UTC 2020


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

Comment (by SergeyBiryukov):

 Replying to [comment:32 desrosj]:
 > Looking at [48748], I'm wondering if we should bump the DB version to
 point to this commit in the upgrade routine. I don't think there is any
 benefit to a site that is running a development version (the upgrade
 routine will "run" again, but nothing will be updated and the caches will
 not clear because no comment IDs will be found), but may be good for
 accuracy.

 Yes, I was thinking of that and came to the same conclusion :)
 [attachment:"49236-db-version-update.diff"] looks good, thanks!

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


More information about the wp-trac mailing list