Hi, forgive me if this is the wrong place to post this, but I think I found a bug in one of the examples on the codex:
I pasted in this script and kept getting blank page errors. Then I removed line 29 and it started working:
$wp_query = null;
Isn't this a mistake? Why should the query be set to null here?