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

WordPress Trac noreply at wordpress.org
Tue Aug 28 09:52:56 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 birgire):

 @flixos90 nice touch adding the {{{phpcs:ignore}}} for the filter name.

 I just skimmed quickly through [attachment:"40510.4.diff"] and noticed:

 - The patch should not include changes to {{{tests/qunit/fixtures/wp-api-
 generated.js}}}.

 - There seems to be a debug relic of {{{return true}}} in
 {{{get_items_permissions_check()}}} in class-wp-rest-revisions-
 controller.php.

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


More information about the wp-trac mailing list