[wp-trac] [WordPress Trac] #45014: REST API: Declare unfiltered_html capability using JSON Hyper Schema `targetSchema`
WordPress Trac
noreply at wordpress.org
Tue Dec 11 04:13:00 UTC 2018
#45014: REST API: Declare unfiltered_html capability using JSON Hyper Schema
`targetSchema`
------------------------------------------------+--------------------------
Reporter: danielbachhuber | Owner:
| danielbachhuber
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed-5.0 | Focuses: rest-api
------------------------------------------------+--------------------------
Changes (by jorbin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"43974" 43974]:
{{{
#!CommitTicketReference repository="" revision="43974"
REST API: Declare unfiltered_html capability in links.
Because user capabilities can be modified at runtime, the REST API needs
to expose them in some evaluated but declarative manner for clients to
interpret. JSON Hyper Schema targetSchema provides an appropriate paradigm
for doing so.
Merges [43682] to trunk.
Props timothyblynjacobs.
Fixes #45014.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45014#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list