[wp-hackers] Two loops on one page?

Ryan Boren ryan at boren.nu
Tue Nov 9 21:25:21 UTC 2004


> Unfortunately, when you run query_posts, the category cache isn't
> cleared before it's rebuilt, and you get two categories attached to each
> post when it tries to list them.  Bug?  I don't know, because nobody
> could tell me if this was the way I was supposed to do this.

update_post_caches() needs to be fixed.  It would be nice if it merged
each run cleanly into the category cache rather than obliterating the
previous cache.  Anyone wanna fix it?

Ryan




More information about the hackers mailing list