Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Modify the schema to apply callbacks or required parameters to nested objects #2783

@rachelbaker

Description

@rachelbaker

Allow schema properties like sanitization_callback, type, required, etc. to be set and processed on nested objects.

Currently rest_sanitize_request_arg() and rest_validate_request_arg() only handle properties set on the top level of nested objects, which means if we try to set properties on content.raw they are ignored.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions