wordpress-develop/tests/phpunit/tests/rest-api
Rachel Baker 8c26572c8a REST API: Fix bug where comment author and author email could be an empty string when creating a comment.
If the `require_name_email` option is true, creating a comment with an empty string for the author name or email should not be accepted.  Both values can be an empty string on update.

Props flixos90, hnle, dd32, rachelbaker, jnylen0, ChopinBach, joehoyle, pento.

Fixes #38971.


git-svn-id: https://develop.svn.wordpress.org/trunk@39444 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-02 22:43:03 +00:00
..
rest-attachments-controller.php REST API: Include template in all post type schemas. 2016-11-09 07:12:01 +00:00
rest-categories-controller.php REST API: Modify the structure of our DELETE responses to be more explicit. 2016-11-03 20:04:59 +00:00
rest-comments-controller.php REST API: Fix bug where comment author and author email could be an empty string when creating a comment. 2016-12-02 22:43:03 +00:00
rest-controller.php REST API: Remove rest_get_post filter and get_post abstraction. 2016-11-08 13:08:49 +00:00
rest-pages-controller.php REST API: Allow unsetting of page templates in update requests. 2016-11-23 02:46:42 +00:00
rest-post-meta-fields.php REST API: Return a WP_Error if meta property is not an array. 2016-12-02 21:55:09 +00:00
rest-post-statuses-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-post-types-controller.php REST API: Add rest_base to response objects of wp/v2/taxonomies and wp/v2/types 2016-11-10 02:20:09 +00:00
rest-posts-controller.php REST API: Fix handling of some orderby parameters for the Posts controller. 2016-12-02 22:17:36 +00:00
rest-request-validation.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-request.php REST API: Return error when JSON decoding fails. 2016-11-03 04:04:41 +00:00
rest-revisions-controller.php REST API: Modify the structure of our DELETE responses to be more explicit. 2016-11-03 20:04:59 +00:00
rest-schema-sanitization.php REST API: Change “ipv4” types to “ip” to support ipv6. 2016-11-18 19:32:03 +00:00
rest-schema-validation.php REST API: Change “ipv4” types to “ip” to support ipv6. 2016-11-18 19:32:03 +00:00
rest-server.php REST API: Deprecate the rest_enabled filter. 2016-10-26 06:27:04 +00:00
rest-settings-controller.php REST API: Add support for "integer" type for meta and options 2016-10-31 16:06:54 +00:00
rest-tags-controller.php REST API: Add tests for empty or "no-op" updates. 2016-11-30 03:02:01 +00:00
rest-taxonomies-controller.php REST API: Add rest_base to response objects of wp/v2/taxonomies and wp/v2/types 2016-11-10 02:20:09 +00:00
rest-test-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
rest-users-controller.php REST API: Disable DELETE requests for users in multisite. 2016-12-02 22:10:01 +00:00