query_posts() broken in WordPress 2.5?
-
Just finished upgrading two sites to WordPress 2.5 and everything went quite smooth (or so I thought). On reviewing the site, I noticed that all templates where I used
query_posts
were broken.This used to work:
query_posts('showposts=5&author=10');
if (have_posts()):
while ($my_query->have_posts()):
endwhile;
endif;
Now it doesn’t. I’ve been messing around with
$wp_query
andWP_QUERY
all morning, but no luck.Any ideas? Is it my code? If so, what should I be doing?
Thanks.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘query_posts() broken in WordPress 2.5?’ is closed to new replies.