[wp-trac] Re: [WordPress Trac] #8179: query_posts + showposts +
permalinks = 404
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 12 18:14:31 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):
I can't reproduce this. The following works fine:
{{{
$cat = get_query_var('cat');
query_posts("cat=$cat&showposts=2");
}}}
Are you sure that your {{{$query_string}}} variable consistently ends with
an ampersand?
--
Ticket URL: <http://trac.wordpress.org/ticket/8179#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list