[wp-hackers] 2.1: Alternative to query_posts?
Ryan Boren
ryan at boren.nu
Wed Jan 10 20:43:26 GMT 2007
On 1/10/07, Joefish <joefish.hackers at feastofcrumbs.com> wrote:
>
>
> This was working great for me with 2.0.x, but with 2.1 beta 1 and beta
> 2, it only works when category 48 is not empty, i.e., when I have a
> sticky post. In 2.0.x, if the category is empty, the if (have_posts())
> bit would return false and the first loop would have no output. But
> with 2.1, the query returns an SQL error and dies.
>
>
> Is this a bug in 2.1, or should I be setting up the loop in some other
> way?
Sounds like a bug. What is the SQL error you got?
Ryan
More information about the wp-hackers
mailing list