[wp-trac] [WordPress Trac] #19493: post and archive pagination don't work with custom endpoints
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 29 15:12:58 UTC 2012
#19493: post and archive pagination don't work with custom endpoints
---------------------------+------------------------------
Reporter: mintindeed | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 2.1
Severity: normal | Resolution:
Keywords: needs-patch |
---------------------------+------------------------------
Comment (by WraithKenny):
Further, `?paged=3&json=1` gets redirected to `/page/3/?json=1` which
works correctly (returns JSON).
Also, `/page/3/garbage/` returns paged=1 but without stickies and 404
title (which has nothing to do with endpoints), and
`/page/3/something/json` returns JSON but with the query `attachment:
"something"` (and `json: true`) while using non-permalink vars
(`/?paged=3&something&json/`) work as expected (turns into
`/page/3/?something&json/`).
I don't fully understand how the permalink parsing works, so I can't tell
if this is expected or bugged, but to the permalink layperson, this seems
unexpected and buggy.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19493#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list