wordpress-develop/src/wp-includes/rest-api
K. Adam White 56aa018065 REST API: Cast empty meta values to correct scalar types in REST response.
Introducing complex meta value handling in [45807] unintentionally removed value casting for empty scalar meta values.

Props TimothyBlynJacobs, chrisvanpatten, rmccue, kadamwhite.
Fixes #48363.



git-svn-id: https://develop.svn.wordpress.org/trunk@46563 602fd350-edb4-49c9-b593-d223f7449a82
2019-10-21 19:08:34 +00:00
..
endpoints Docs: Fix typo in a comment in WP_REST_Settings_Controller::prepare_value(). 2019-10-13 10:00:18 +00:00
fields REST API: Cast empty meta values to correct scalar types in REST response. 2019-10-21 19:08:34 +00:00
search Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock. 2019-05-14 14:58:09 +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:24:58 +00:00
class-wp-rest-response.php Docs: Remove extra spaces in various REST API DocBlocks. 2019-09-05 23:04:05 +00:00
class-wp-rest-server.php REST API: Permit embedding of the 'self' link relation in the /search endpoint. 2019-10-08 04:43:10 +00:00