[wp-hackers] The great and powerful query hook

Kaf Oseo kaf at szub.net
Thu Jan 11 02:18:02 GMT 2007


I seem to be missing something.

I'm playing around with the new 'query' hook, using a regex to remove
the current date/time check that occurs so as to display future-dated
posts.

And it works pretty well (even list_cats is cooperating) except when
displaying a post in single query mode. At that point it fails, though
I can take the query generated, as is, and call the post manually.

What else is going on in the background here?

-Kaf


More information about the wp-hackers mailing list