[wp-hackers] SQL error when including wp-blog-header.php

Alex King alex at alexking.org
Sun Jul 4 06:46:40 UTC 2004


It shouldn't error out like that regardless, should it? Maybe we need 
more error handling in there to check for $post_id_list?

I'll see if I can track down where the root of the error is coming from 
- I guess where $post_id_list is getting clobbered.

--Alex

http://www.alexking.org/


On Jul 4, 2004, at 12:42 AM, Matt Mullenweg wrote:

> Alex King wrote:
>
>> Anyone have an idea what I'm doing to corrupt the queries in 
>> wp-blog-header?
>
> It looks like it isn't getting any post IDs to populate the IN part of 
> the query. That magic happens in blog-header in 1.2, and in 
> update_post_caches in 1.3. You want to follow $post_id_list.
>
> -- 
> Matt Mullenweg
>  http://photomatt.net | http://wordpress.org
> http://pingomatic.com | more soon...




More information about the hackers mailing list