[wp-trac] [WordPress Trac] #42947: REST API wrong total pages
WordPress Trac
noreply at wordpress.org
Wed Dec 20 17:03:38 UTC 2017
#42947: REST API wrong total pages
--------------------------+-----------------------------
Reporter: elvishp2006 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.9.1
Severity: normal | Keywords:
Focuses: rest-api |
--------------------------+-----------------------------
When I require posts with the draft status the 'x-wp-total' and 'x-wp-
totalpages' headers come with extra values being that not all drafts are
from the user making a request, so when I try to pick up the second page
the answer comes empty.
[[Image(https://i.imgur.com/223sEE3.gif)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42947>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list