[wp-trac] [WordPress Trac] #44321: REST API: Expose revision count and last revision ID on Post response

WordPress Trac noreply at wordpress.org
Fri Jul 13 04:06:26 UTC 2018


#44321: REST API: Expose revision count and last revision ID on Post response
---------------------------------------------+---------------------
 Reporter:  danielbachhuber                  |       Owner:  pento
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9.8
Component:  REST API                         |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43439" 43439]:
 {{{
 #!CommitTicketReference repository="" revision="43439"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44321#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list