[wp-trac] Re: [WordPress Trac] #8179: query_posts + showposts +
permalinks = 404
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 12 20:57:21 GMT 2008
#8179: query_posts + showposts + permalinks = 404
--------------------------------------------------------------------+-------
Reporter: wp_guy | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.7
Severity: major | Resolution:
Keywords: query_posts, showposts, posts_per_page, permalink, 404 |
--------------------------------------------------------------------+-------
Comment (by filosofo):
Replying to [comment:3 wp_guy]:
> >I can't reproduce this.
> Really? are you sure? have you tried going further back? I think it
depends on the number of posts.
If I put the following in category.php, I can go back at least 10 pages
(that's where I stopped).
{{{
$cat = get_query_var('cat');
$page = get_query_var('paged');
query_posts("paged=$page&cat=$cat&showposts=2");
}}}
But that's on the latest trunk.
--
Ticket URL: <http://trac.wordpress.org/ticket/8179#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list