WordPress/wp-includes/rest-api/endpoints
Sergey Biryukov f5942603c0 Comments: Make wp_update_comment() return a WP_Error object for a canceled update, if $wp_error parameter is true.
Remove redundant checks for `wp_update_comment()` results being `false`, as the function always returns a `WP_Error` object now if `$wp_error` is true.

Follow-up to [48154], [48215], [48216].

See #39732.
Built from https://develop.svn.wordpress.org/trunk@48218


git-svn-id: http://core.svn.wordpress.org/trunk@47987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-29 23:42:03 +00:00
..
class-wp-rest-attachments-controller.php Role/Capability: Use meta caps edit_post, read_post, and delete_post directly. 2020-05-23 15:24:07 +00:00
class-wp-rest-autosaves-controller.php Docs: Remove an empty line between @param and @return tags, per the documentation standards. 2020-06-20 11:18:09 +00:00
class-wp-rest-block-renderer-controller.php REST API: Only register one block renderer route. 2020-06-17 03:22:12 +00:00
class-wp-rest-block-types-controller.php REST API: Introduce Block Types endpoint. 2020-06-26 00:46:07 +00:00
class-wp-rest-blocks-controller.php Role/Capability: Use meta caps edit_post, read_post, and delete_post directly. 2020-05-23 15:24:07 +00:00
class-wp-rest-comments-controller.php Comments: Make wp_update_comment() return a WP_Error object for a canceled update, if $wp_error parameter is true. 2020-06-29 23:42:03 +00:00
class-wp-rest-controller.php REST API: Support the (min|max)Items JSON Schema keywords. 2020-06-07 22:42:13 +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 Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way. 2020-06-20 12:02:12 +00:00
class-wp-rest-revisions-controller.php Role/Capability: Use meta caps edit_post, read_post, and delete_post directly. 2020-05-23 15:24:07 +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 General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:26:13 +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 Docs: Remove unnecessary variables names from @return tags. 2020-06-19 22:55:12 +00:00
class-wp-rest-themes-controller.php Docs: Improve DocBlocks in wp-includes/theme.php per the documentation standards. 2020-06-27 12:02:03 +00:00
class-wp-rest-users-controller.php Users: Merge two similar error messages about usernames with invalid characters. 2020-06-27 23:44:09 +00:00