Files
wordpress-develop/tests/phpunit/tests
Joe Hoyle fb2e44456e REST API: Don’t remove unregistered properties from objects in schema.
In r41727 the ability to sanitise and validate objects from JSON schema was added, with a whitelist approach. It was decided we should pass through all non-registered properties to reflect the behaviour of the root object in register_rest_route. To prevent arbitrary extra data via setting objects, we force additionalProperties to false in the settings endpoint.

See #38583.

git-svn-id: https://develop.svn.wordpress.org/trunk@42000 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-24 21:04:50 +00:00
..
2017-10-12 04:27:22 +00:00
2016-08-27 08:35:16 +00:00
2016-08-27 08:35:16 +00:00
2016-08-27 08:35:16 +00:00
2014-08-01 20:35:25 +00:00