[wp-trac] [WordPress Trac] #17339: Bug w/ Custom Post Type Archive Page and WP_Query
WordPress Trac
wp-trac at lists.automattic.com
Sun May 8 19:06:01 UTC 2011
#17339: Bug w/ Custom Post Type Archive Page and WP_Query
-------------------------------+------------------------------
Reporter: whatadewitt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by scribu):
> If my custom post type had 154 posts, I could get to page 16, but going
to the "next" page was giving me the 404. If I had 216, I could get to
page 22, but not to page 23. (154 / 10 would give me 16 pages, 216 / 10
would give me 22 pages).
So, if you reached the last page and then afterwards got a 404, what is
the problem? That there's a "Next" link that leads to a 404?
What happens then after you change the setting to -1?
Also, from the code you posted, I don't see where the post_type parameter
is first set.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17339#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list