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

WordPress Trac noreply at wordpress.org
Thu Jun 7 13:49:21 UTC 2018


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

 * keywords:  needs-patch dev-feedback needs-unit-tests => dev-feedback
     needs-unit-tests has-patch


Comment:

 `44321.1.diff` executes the plan described above, by adding a `count` to
 the `version-history` link and adding a new link using the "predecessor"
 relation.

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


More information about the wp-trac mailing list