WordPress/wp-includes/rest-api
TimothyBlynJacobs 0615a9ab37 REST API: Use new rest_get_route_for_post() in the post search handler.
In [48273] the rest_get_route_for_post function was introduced. This simplifies determining the REST API route for any given post object and adds a filter for custom controllers.

Props ravatparmar.
Fixes #50529.

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


git-svn-id: http://core.svn.wordpress.org/trunk@48150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:31:02 +00:00
..
endpoints REST API: Remove specific multi-type schema handling from the themes controller. 2020-07-05 01:06:02 +00:00
fields REST API: Fix updating "multiple" meta keys with non-string values. 2020-06-10 02:22:13 +00:00
search REST API: Use new rest_get_route_for_post() in the post search handler. 2020-07-07 15:31:02 +00:00
class-wp-rest-request.php Docs: Remove an empty line between @param and @return tags, per the documentation standards. 2020-06-20 11:18:09 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-server.php Docs: Miscellaneous DocBlock corrections. 2020-06-28 11:53:04 +00:00