[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 21:35:45 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
Component: REST API | Release
Severity: normal | Version: trunk
Keywords: has-patch dev-feedback has-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by morganestes):
* keywords: needs-unit-tests has-patch dev-feedback => has-patch dev-
feedback has-unit-tests
Comment:
In [attachment:39061.3.diff]: make sure to check for no posts in a
response before returning an error. This prevents unintended failure on
empty arrays when none are expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39061#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list