[wp-trac] [WordPress Trac] #51021: Permit uniqueItems keyword in endpoint args
WordPress Trac
noreply at wordpress.org
Mon Aug 17 01:41:15 UTC 2020
#51021: Permit uniqueItems keyword in endpoint args
-------------------------------------------------+-------------------------
Reporter: TimothyBlynJacobs | Owner:
| TimothyBlynJacobs
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5.1
Component: REST API | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
fixed-major |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"48807" 48807]:
{{{
#!CommitTicketReference repository="" revision="48807"
REST API: Add uniqueItems as a permitted endpoint argument JSON Schema
keyword.
Support for the `uniqueItems` keyword was added in [48357], but wasn't
included in the list of permitted keywords for
`WP_REST_Controller::get_endpoint_args_for_item_schema()`. This prevented
the keyword from being automatically supported if specified in a
controller's item schema.
Props TimothyBlynJacobs.
Merges [48796] to the 5.5 branch.
Fixes #51021.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51021#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list