Go to file
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
src REST API: Support objects in settings schema. 2017-10-05 00:18:44 +00:00
tests REST API: Support objects in settings schema. 2017-10-05 00:18:44 +00:00
tools/i18n DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:49:09 +00:00
.editorconfig
.gitignore Embeds: Add oEmbed support for someecards.com. 2017-10-02 19:09:46 +00:00
.jshintrc Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
.travis.yml Build/Test tools: Remove PHP 7.2 from the allowed failures list on Travis CI. 2017-10-04 19:53:07 +00:00
Gruntfile.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
jsdoc.conf.json Docs: Add jsdoc.conf.json JSDOC configuration file. 2017-09-11 13:13:40 +00:00
package.json Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
phpunit.xml.dist Tests: Rename ignored tests in `phpunit.xml.dist`. 2017-08-18 10:26:50 +00:00
webpack.config.dev.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
webpack.config.prod.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00