Opened 4 years ago
Closed 4 years ago
#51021 closed defect (bug) (fixed)
Permit uniqueItems keyword in endpoint args
Reported by: | TimothyBlynJacobs | Owned by: | TimothyBlynJacobs |
---|---|---|---|
Milestone: | 5.5.1 | Priority: | normal |
Severity: | normal | Version: | 5.5 |
Component: | REST API | Keywords: | has-patch has-unit-tests commit fixed-major |
Focuses: | Cc: |
Description
Support for the uniqueItems
keyword was added in [48357]. However, I neglected to add the keyword to the list of valid properties in WP_REST_Server::get_endpoint_args_for_item_schema
. This means the keyword won't be automatically added to the args definition if used in a schema.
Change History (5)
This ticket was mentioned in PR #481 on WordPress/wordpress-develop by TimothyBJacobs.
4 years ago
#1
- Keywords has-patch has-unit-tests added
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/51021