[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 06:13:30 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:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by pento):

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


Comment:

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

 Merge of [43439] and [43441] to the 4.9 branch.

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

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


More information about the wp-trac mailing list