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

WordPress Trac noreply at wordpress.org
Fri Mar 30 14:03:39 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 needs-unit-tests  |     Focuses:  rest-api
----------------------------------------+-----------------------

Comment (by adamsilverstein):

 This looks good @flixos90!

 In [attachment:40510.2.diff] I added a cast to (int) for
 `$request['page'];`use and update the fixtures. (`phpunit --group=restapi-
 jsclient` or `grunt precommit` generates this file). Some tests to
 validate the new features would be nice.

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


More information about the wp-trac mailing list