I am attempting to track down the source of a series of slow queries on my WordPress site but oddly can’t find the file that a query is in by doing a multi-file search in BBEdit.
The query string I am looking for is
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) WHERE 1=1…
but I can’t locate it anywhere.
I think it is an rss related query but wasn’t able to find it at all
I’ve seen the query in the support section in relation to a few plugins (none of which I have enabled)
The calls are starting to be a bit of a load on my server and I want to track down where this is coming from
- The topic ‘Looking for source of SQL query’ is closed to new replies.