WordPress/wp-includes/rest-api
K. Adam White 55560a708f REST API: Do not addslash when receiving meta arrays of non-string values.
Slashing non-string data caused PUT requests containing unmodified meta arrays of integers to fail the check against the existing stored meta value, causing a 500 when posting an unmodified response body back to the server.

Props TimothyBlynJacobs, augustuswm.
Fixes #48264.

Built from https://develop.svn.wordpress.org/trunk@46454


git-svn-id: http://core.svn.wordpress.org/trunk@46252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-09 17:36:01 +00:00
..
endpoints REST API: Ensure rest_controller instantiates the post type's declared REST controller class. 2019-10-08 13:43:02 +00:00
fields REST API: Do not addslash when receiving meta arrays of non-string values. 2019-10-09 17:36:01 +00:00
search Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock. 2019-05-14 15:00:07 +00:00
class-wp-rest-request.php REST API: Pass "null" as the post date property to reset post to initial "floating" date value. 2019-09-23 17:25:57 +00:00
class-wp-rest-response.php Docs: Remove extra spaces in various REST API DocBlocks. 2019-09-05 23:05:55 +00:00
class-wp-rest-server.php REST API: Permit embedding of the 'self' link relation in the /search endpoint. 2019-10-08 04:45:02 +00:00