Support » Requests and Feedback » bug in the codex

  • jplew


    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?


Viewing 1 replies (of 1 total)
  • mrmist


    Forum Janitor

    It’s assigned to a temp variable just before, and then re-instantiated immediately afterwards. I wouldn’t have thought it would make a lot of difference either way.

Viewing 1 replies (of 1 total)
  • The topic ‘bug in the codex’ is closed to new replies.