Array
(
    [0] => Array
        (
            [0] => 
		SELECT ID, post_name, post_parent, post_type
		FROM Tp_2016_posts
		WHERE post_name IN ('actualites')
		AND post_type IN ('page','attachment')
	
            [1] => 0.00032520294189453
            [2] => require('wp-blog-header.php'), wp, WP->main, WP->parse_request, get_page_by_path, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb->default_query
        )

    [1] => Array
        (
            [0] => 
									 SELECT post_type, post_name
									 FROM Tp_2016_posts p
									 LEFT JOIN Tp_2016_icl_translations t
										ON t.element_id = p.ID
										 	AND CONCAT('post_', p.post_type) = t.element_type
									 		AND p.post_type  IN ('post','page','attachment','thegem_news','thegem_pf_item','thegem_qf_item','property','transaction' ) 
									 WHERE post_name = 'actualites'  AND post_type IN ('post', 'page', 'attachment', 'thegem_news', 'thegem_pf_item', 'agency', 'agent', 'property')
									 	AND ( post_status = 'publish'
									 	    OR ( post_type = 'attachment'
									 	         AND post_status = 'inherit' ) )
									 	ORDER BY CASE t.language_code WHEN 'fr' THEN 5  WHEN 'nl' THEN 3  WHEN 'en' THEN 2  WHEN 'de' THEN 1  ELSE 0 END DESC  ,  CASE p.post_type  WHEN 'page' THEN 2  WHEN 'post' THEN 1  ELSE 0 END DESC 
								     LIMIT 1
            [1] => 0.00046801567077637
            [2] => require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, WP_Query->parse_query, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, SitePress->parse_query, WPML_Query_Parser->parse_query, WPML_Query_Parser->maybe_adjust_name_var, WPML_404_Guess->guess_cpt_by_name, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb->default_query
        )

    [2] => Array
        (
            [0] => 
				SELECT ID
				 FROM Tp_2016_posts p
	             JOIN Tp_2016_icl_translations t
					ON p.ID = t.element_id
						AND t.element_type = CONCAT('post_', p.post_type )  WHERE p.post_type = 'page' AND  p.post_name = 'actualites'
				ORDER BY p.post_parent = 0 DESC
				
            [1] => 0.00026607513427734
            [2] => require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, WP_Query->parse_query, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, SitePress->parse_query, WPML_Query_Parser->parse_query, WPML_Query_Parser->maybe_adjust_name_var, WPML_Name_Query_Filter->filter_page_name, WPML_Name_Query_Filter->query_needs_adjustment, WPML_Name_Query_Filter->get_single_slug_adjusted_IDs, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb->default_query
        )

    [3] => Array
        (
            [0] => SELECT   Tp_2016_posts.* FROM Tp_2016_posts  JOIN Tp_2016_icl_translations t
							ON Tp_2016_posts.ID = t.element_id
								AND t.element_type = CONCAT('post_', Tp_2016_posts.post_type)  WHERE 1=1  AND (Tp_2016_posts.ID = '9') AND Tp_2016_posts.post_type = 'page' AND ( ( t.language_code = 'fr' AND Tp_2016_posts.post_type  IN ('post','page','attachment','thegem_news','thegem_pf_item','thegem_qf_item','property','transaction' )  ) OR Tp_2016_posts.post_type  NOT  IN ('post','page','attachment','thegem_news','thegem_pf_item','thegem_qf_item','property','transaction' )  )  ORDER BY Tp_2016_posts.post_date DESC 
            [1] => 0.00024104118347168
            [2] => require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb->default_query
        )

    [4] => Array
        (
            [0] => SELECT post_id, meta_key, meta_value FROM Tp_2016_postmeta WHERE post_id IN (9) ORDER BY meta_id ASC
            [1] => 0.00033903121948242
            [2] => require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, thegem_redirect_subpage, thegem_get_sanitize_page_effects_data, thegem_get_post_data, get_post_meta, get_metadata, update_meta_cache, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb->default_query
        )

)
Actualités | T.Palm
T.Palm