Wordpress/tests
K. Adam White 64a36e4119 REST API: Support objects in settings schema.
Enables register_setting to accept an object as its schema value, allowing settings to accept non-scalar values through the REST API.
This whitelists the added type in the settings controller, and passes properties from argument registration into the validation functions.

Props joehoyle.
See #38583.



git-svn-id: https://develop.svn.wordpress.org/trunk@41758 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-05 00:18:44 +00:00
..
phpunit REST API: Support objects in settings schema. 2017-10-05 00:18:44 +00:00
qunit Revert "Add wp.hooks - JavaScript actions and filters." 2017-10-04 20:24:52 +00:00