Close

Account

Documentation

Forum

Menu

Reply To: Query duplicate count_users

Post count: 153
Communication Contact
April 17, 2018 at 2:24 am #30589

Hi Adek,

there are still these duplicate Queries:

WP_Term_Query->get_terms
2 calls
JNews\Single\SinglePost->recursive_category
1 call
JNews\Module\ModuleQuery::recursive_category
1 call

WP_Post::get_instance
2 calls
apply_filters(‘jnews_content_class’)
1 call
apply_filters(‘the_content’)
1 call

SELECT *
FROM wp_posts
WHERE ID = 1
LIMIT 1 2 WP_Post::get_instance
2 calls
apply_filters(‘jnews_content_class’)
1 call
apply_filters(‘the_content’)
1 call
SELECT t.*, tt.*
FROM wp_terms AS t
INNER JOIN wp_term_taxonomy AS tt
ON t.term_id = tt.term_id
WHERE tt.taxonomy IN (‘category’)
AND tt.parent = ‘584’
ORDER BY t.name ASC