[wp-trac] [WordPress Trac] #48079: REST API: optimize how the schema API is generated for block-renderer endpoints
WordPress Trac
noreply at wordpress.org
Sat Jul 11 20:32:35 UTC 2020
#48079: REST API: optimize how the schema API is generated for block-renderer
endpoints
-------------------------+--------------------------------
Reporter: gziolo | Owner: TimothyBlynJacobs
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
-------------------------+--------------------------------
Comment (by TimothyBlynJacobs):
In [changeset:"48437" 48437]:
{{{
#!CommitTicketReference repository="" revision="48437"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48079#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list