[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 15:15: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:
-------------------------------------------------+-------------------------
Comment (by joehoyle):
In [changeset:"39991"]:
{{{
#!CommitTicketReference repository="" revision="39991"
REST API: Fix unit tests for posts out of bounds errors
Previously we were assuming pagination headers would be sent when the
request for posts is out of bounds. Instead presume it will return an
error.
See #39061.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39061#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list