WordPress/wp-includes/rest-api/endpoints
Sergey Biryukov 61a2f62ffd 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.
Built from https://develop.svn.wordpress.org/trunk@47597


git-svn-id: http://core.svn.wordpress.org/trunk@47372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-17 19:35:06 +00:00
..
class-wp-rest-attachments-controller.php Docs: Improve documentation for WP_REST_Attachments_Controller. 2020-02-28 12:31:08 +00:00
class-wp-rest-autosaves-controller.php Docs: Use more specific types in parameter descriptions in place of mixed. 2020-03-01 10:38:07 +00:00
class-wp-rest-block-renderer-controller.php Docs: Improve documentation for WP_REST_Attachments_Controller. 2020-02-28 12:31:08 +00:00
class-wp-rest-blocks-controller.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-rest-comments-controller.php Comments: Use comment instead of an empty string for the comment_type DB field value in comments table. 2020-04-17 19:35:06 +00:00
class-wp-rest-controller.php REST API: Fix _fields filtering of registered rest fields. 2020-03-26 17:52:16 +00:00
class-wp-rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-post-types-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-posts-controller.php REST API: Introduce rest_{$this->post_type}_item_schema filter to enable manipulation of schema values. 2020-02-11 16:28:06 +00:00
class-wp-rest-revisions-controller.php REST API: Fix revisions controller get_item permission check. 2020-04-03 19:40:08 +00:00
class-wp-rest-search-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-settings-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-terms-controller.php REST API: Merge "not allowed to create new terms" permission error message with an existing string. 2020-02-02 05:41:03 +00:00
class-wp-rest-themes-controller.php REST API: Fix typo in disable-custom-gradients theme feature description. 2020-03-06 00:17:05 +00:00
class-wp-rest-users-controller.php Docs: Use more specific types in parameter descriptions in place of mixed. 2020-03-01 10:38:07 +00:00