[wp-hackers] Seeing the Actual SQL statements WP is running when compiling the posts...

John Blackbourn johnbillion+wp at gmail.com
Tue Dec 6 22:37:51 UTC 2011


On 6 December 2011 20:21, Haluk Karamete <halukkaramete at gmail.com> wrote:
>>>  Call from: require, require_once, require_once, require_once,
>                 WP->init, wp_get_current_user, get_currentuserinfo,
>                 wp_validate_auth_cookie, get_userdatabylogin, get_user_by
> this are the functions, class or methods, there call this sql statement.
>
> Now Frank,
>
> Does that mean that SQL statement has actually been called that many
> times and from that many places in this particular instance?
>
> Or does it mean that it could be possibly called from those places in the core?

It's a stack trace [1] for the function which made the SQL query.

"A stack trace allows to track the sequence of nested functions called
up to the point where the stack trace is generated."

[1] http://en.wikipedia.org/wiki/Stack_trace


More information about the wp-hackers mailing list