Make WordPress Core

Timestamp:
10/31/2016 01:47:36 AM (9 years ago)
Author:
pento
Message:

REST API: Add support for arrays in schema validation and sanitization.

By allowing more fine-grained validation and sanitisation of endpoint args, we can ensure the correct data is being passed to endpoints.

This can easily be extended to support new data types, such as CSV fields or objects.

Props joehoyle, rachelbaker, pento.
Fixes #38531.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.