Make WordPress Core

Opened 2 months ago

#48820 new enhancement

Add additional string validation keywords to rest_validate_value_from_schema

Reported by: TimothyBlynJacobs Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7
Component: REST API Keywords:
Focuses: Cc:
PR Number:


I think it'd be helpful to add the minLength and maxLength JSON Schema validation keywords. https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.3.1

Change History (0)

Note: See TracTickets for help on using tickets.