Opened 6 years ago
Closed 6 years ago
#51021 closed defect (bug) (fixed)
Permit uniqueItems keyword in endpoint args
| Reported by: | TimothyBlynJacobs | Owned by: | TimothyBlynJacobs |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5.1 |
| Component: | REST API | Version: | 5.5 |
| Severity: | normal | Keywords: | has-patch has-unit-tests commit fixed-major |
| Cc: | Focuses: |
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.
6 years ago
#1
- Keywords has-patch has-unit-tests added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/51021