WordPress/wp-includes/rest-api
TimothyBlynJacobs 19c72d58e7 REST API, XML-RPC: Synchronise empty comment content checks.
The REST API and XML-RPC now uses the same detection methodology for empty comment content as `wp_handle_comment_submission()`. Specifically, comments now have their content trimmed and '0' is allowed.

Props jaswrks, rmccue, dd32, rachelbaker, Cawa-93, aduth, TimothyBlynJacobs.
Fixes #43177.

Built from https://develop.svn.wordpress.org/trunk@49303


git-svn-id: http://core.svn.wordpress.org/trunk@49065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-24 22:46:09 +00:00
..
endpoints REST API, XML-RPC: Synchronise empty comment content checks. 2020-10-24 22:46:09 +00:00
fields REST API: Deprecate WP_REST_Meta_Fields::register_field(). 2020-10-24 04:27:09 +00:00
search REST API: Introduce search post format handler. 2020-10-12 19:54:05 +00:00
class-wp-rest-request.php REST API: Support a route-level validation callback. 2020-09-05 18:09:06 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-server.php REST API: Make sure all supported JSON Schema keywords are output in the index. 2020-10-20 20:19:09 +00:00