WordPress/wp-includes/rest-api/endpoints
TimothyBlynJacobs a59fb4e50f REST API: Sanitize block renderer attributes.
In [48069] the Block Renderer was changed to register a single route for all dynamic blocks. Validation was dynamically applied based on the requested block, but sanitization was not. This commit adds the same sanitization back to the block attributes.

Props manooweb.
Fixes #50620. See #48079.

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


git-svn-id: http://core.svn.wordpress.org/trunk@48206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-11 20:34:05 +00:00
..
class-wp-rest-attachments-controller.php Docs: Miscellaneous DocBlock corrections. 2020-07-08 13:15:03 +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-directory-controller.php REST API: Introduce plugin management and block directory endpoints. 2020-07-01 04:24:03 +00:00
class-wp-rest-block-renderer-controller.php REST API: Sanitize block renderer attributes. 2020-07-11 20:34:05 +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-plugins-controller.php REST API: Introduce plugin management and block directory endpoints. 2020-07-01 04:24:03 +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: Spell "falsey" in a consistent way. 2020-07-02 11:30:02 +00:00
class-wp-rest-themes-controller.php REST API: Remove specific multi-type schema handling from the themes controller. 2020-07-05 01:06:02 +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