WordPress/wp-includes/rest-api
TimothyBlynJacobs c56eb69d7d REST API: Properly display JSON encoding errors.
Previously `null` was returned because the server was accessing the incorrect variable.

Props atimmer, technosailor.
Fixes #52106.

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


git-svn-id: http://core.svn.wordpress.org/trunk@49617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-02 20:36:06 +00:00
..
endpoints Docs: Correct the type of the $user parameter in WP_REST_Users_Controller::prepare_links(). 2020-12-25 14:54:07 +00:00
fields REST API: Prevent PHP warning when metadata schema is missing properties. 2020-10-25 20:30:08 +00:00
search Docs: Fix some docblock issues introduced in 5.6. 2020-12-10 23:27:06 +00:00
class-wp-rest-request.php REST API: Support a broader range of JSON media types. 2020-10-27 16:44:06 +00:00
class-wp-rest-response.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-rest-server.php REST API: Properly display JSON encoding errors. 2021-01-02 20:36:06 +00:00