[wp-trac] [WordPress Trac] #49236: Use 'comment' instead of '' for the comment_type db field for comments
WordPress Trac
noreply at wordpress.org
Sun Jan 19 18:42:25 UTC 2020
#49236: Use 'comment' instead of '' for the comment_type db field for comments
-------------------------+-----------------------------
Reporter: imath | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------------
Following @aaroncampbell and @jeremyfelt suggestions on #35214 this ticket
is a first step to bring custom comment types into WordPress. This first
step's goal is to start using `comment` for the `comment_type` field value
of the `wp_comments` table.
To build the patch I've tried to make sure all functions/requests now use
`'comment'` instead of `''`. I've tested the upgrade routine with some
comments.
I haven't set the milestone as I'm unsure if this is something that is
doable before 5.4-beta1. I imagine the upgrade routine might need some
testing on websites having a lot of comments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49236>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list