[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
Thu Jan 26 13:52:08 UTC 2017
#39061: REST API pagination: Large INT passed to `paged` query arg doesn't fail
properly
-------------------------------------------------+-------------------------
Reporter: morganestes | Owner: joehoyle
Type: enhancement | Status: closed
Priority: normal | Milestone: Future
Component: REST API | Release
Severity: normal | Version: 4.7
Keywords: has-patch dev-feedback has-unit- | Resolution: fixed
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by joehoyle):
* owner: => joehoyle
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"39967"]:
{{{
#!CommitTicketReference repository="" revision="39967"
REST API: Return an error if the page number is out of bounds.
Return an error from the REST API if a page number larger than the total
pages count is requested.
Props morganestes.
Fixes #39061.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39061#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list