[wp-trac] [WordPress Trac] #40510: REST API: Post Revisions: Adding support for pagination

WordPress Trac noreply at wordpress.org
Tue Aug 28 09:55:38 UTC 2018


#40510: REST API: Post Revisions: Adding support for pagination
--------------------------------------+-----------------------
 Reporter:  benoitperson              |       Owner:  flixos90
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.0
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------

Comment (by flixos90):

 [attachment:"40510.5.diff"] removes the accidentally contained `return
 true` in there. It also sets the `orderby` to `date ID` for backward-
 compatibility with how `wp_get_post_revisions()` works.

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


More information about the wp-trac mailing list