WordPress/wp-includes/rest-api
Gary Pendergast 2f803422fa REST API: Expose revision count and last revision ID on Post response
So that REST API clients can show appropriate UI for a post's revisions, it needs to know how many revisions the post has, and what the latest revision ID is.

Props kadamwhite, danielbachhuber, birgire, TimothyBlynJacobs.
Fixes #44321.


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


git-svn-id: http://core.svn.wordpress.org/trunk@43266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-13 04:07:24 +00:00
..
endpoints REST API: Expose revision count and last revision ID on Post response 2018-07-13 04:07:24 +00:00
fields REST API: Support meta registration for specific object subtypes. 2018-06-28 02:43:21 +00:00
class-wp-rest-request.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-rest-response.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-rest-server.php REST API: Remove permalink_structure from the index. 2018-04-23 04:12:20 +00:00