Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Add support for setting validation now in 4.6-alpha #142

Closed
westonruter opened this issue May 20, 2016 · 0 comments
Closed

Add support for setting validation now in 4.6-alpha #142

westonruter opened this issue May 20, 2016 · 0 comments
Assignees
Milestone

Comments

@westonruter
Copy link
Contributor

Setting validation is now in trunk. See https://core.trac.wordpress.org/changeset/37476

The validation being done in Customize posts is using the proposed $strict param which didn't make it into the final patch. We need to implement validate callbacks, or return WP_Error from the settings' sanitize callbacks (but only if at least 4.6-alpha-r37476, aka if WP_Customize_Setting::validate() exists).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant