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
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
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
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
class-wp-rest-post-types-controller.php
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
class-wp-rest-search-controller.php
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
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