Support » Requests and Feedback » $querycount Variable
13 years, 7 months ago
Hi there, can i know is the $querycount variable in use for wordpress also?
What are you trying to do?
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.
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.
okie thanks mike =D