[wp-trac] [WordPress Trac] #39061: REST API pagination: Large INT passed to `paged` query arg doesn't fail properly

WordPress Trac noreply at wordpress.org
Sun Dec 4 20:27:24 UTC 2016


#39061: REST API pagination: Large INT passed to `paged` query arg doesn't fail
properly
------------------------------------------+-----------------------------
 Reporter:  morganestes                   |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  REST API                      |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by morganestes):

 [attachment:39061.diff] is a first pass at returning an error for an out-
 of-bounds page request for posts. If this looks right, I'll do the same
 for the other endpoints.

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


More information about the wp-trac mailing list