WordPress/wp-includes/rest-api
K. Adam White ed11103f39 REST API: Ensure rest_controller instantiates the post type's declared REST controller class.
Ensures that the ::get_rest_controller() method will always return an instanceof the expected controller class, or null.
Removes unused private static property $post_type_controllers.

Props dlh, TimothyBlynJacobs.
Fixes #45677.


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


git-svn-id: http://core.svn.wordpress.org/trunk@46233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 13:43:02 +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: Combine array and object cases in WP_REST_Meta_Fields::get_default_for_type() to remove duplicated line. 2019-09-29 22:34:57 +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