ballhogjoni Posted October 4, 2011 Share Posted October 4, 2011 SELECT count(*) as c FROM wp_posts WHERE ID IN (SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id = 18562) AND ID IN (SELECT post_id FROM wp_postmeta WHERE meta_key = '_menu_item_menu_item_parent' AND meta_value = '40138') ORDER BY menu_order; Link to comment https://forums.phpfreaks.com/topic/248407-wordpress-guru-i-need-to-know-where-this-sql-is-located/ Share on other sites More sharing options...
trq Posted October 5, 2011 Share Posted October 5, 2011 Why not do a search for it? It's likely not to be in a single piece like that though. Link to comment https://forums.phpfreaks.com/topic/248407-wordpress-guru-i-need-to-know-where-this-sql-is-located/#findComment-1275862 Share on other sites More sharing options...
ballhogjoni Posted October 6, 2011 Author Share Posted October 6, 2011 Why not do a search for it? It's likely not to be in a single piece like that though. yes this has been done. greped for portions of it. Found part of it in the redirection plugin...removed it but the query still shows up in the log. Link to comment https://forums.phpfreaks.com/topic/248407-wordpress-guru-i-need-to-know-where-this-sql-is-located/#findComment-1276530 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.