WordPress.org

Forums

$querycount Variable (6 posts)

  1. Lester Chan
    Member
    Posted 11 years ago #

    Hi there, can i know is the $querycount variable in use for wordpress also?

  2. Alex King
    Member
    Posted 11 years ago #

    What are you trying to do?

  3. Lester Chan
    Member
    Posted 11 years ago #

    trying to know how many queries i used for debugging.
    I used it, it works but the main default page of wp use only 3 queries while i think b2 uses 8?
    Correct me if i am wrong.

  4. Lester Chan
    Member
    Posted 11 years ago #

    anyone guys?

  5. Mike Little
    Member
    Posted 11 years ago #

    Hi Gamerz,
    There are lots of places where querycount is updated in the code.
    Whether that is all places, I'm not sure.
    There were places in b2 where it wasn't used.
    My copy of the default page uses 5 queries.
    Mike

  6. Lester Chan
    Member
    Posted 11 years ago #

    okie thanks mike =D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.