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

Conversation

@danielbachhuber
Copy link
Member

Dedicated functions means we can use them for validating / sanitizing
query args too. Removes WP_REST_Controller::validate_schema_property()
and WP_REST_Controller::sanitize_schema_property()

See #1212

Dedicated functions means we can use them for validating / sanitizing
query args too. Removes `WP_REST_Controller::validate_schema_property()`
and `WP_REST_Controller::sanitize_schema_property()`
@danielbachhuber danielbachhuber added this to the 2.0 Beta 12 milestone Jan 30, 2016
danielbachhuber added a commit that referenced this pull request Jan 30, 2016
Introduce `rest_validate_request_arg()`/`rest_sanitize_request_arg()`
@danielbachhuber danielbachhuber merged commit 729a326 into develop Jan 30, 2016
@danielbachhuber danielbachhuber deleted the 1212-validate-callbacks branch January 30, 2016 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants