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.

git-svn-id: https://develop.svn.wordpress.org/trunk@47597 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-04-17 19:33:52 +00:00
parent 02e7fc0c7e
commit d5a7a3a45d
11 changed files with 111 additions and 12 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ $wp_version = '5.5-alpha-47426-src';
*
* @global int $wp_db_version
*/
$wp_db_version = 47018;
$wp_db_version = 47597;
/**
* Holds the TinyMCE version.