[ad_1]
Hi
In the WordPress admin dashboard
The EDD product item edit page takes about 40 seconds to load.
The other parts of the WordPress admin open quickly, only editing the EDD item is slow.
I installed the Query Monitor plugin. And in the Slow Query section, an item (WP_Query->get_posts) is displayed.
————————–
SELECT wp_posts.ID
FROM wp_posts
LEFT JOIN wp_postmeta
ON ( wpaz_posts.ID = wp_postmeta.post_id )
LEFT JOIN wp_postmeta AS mt1
ON ( wp_posts.ID = mt1.post_id
AND mt1.meta_key = '_edd_product_type' )
WHERE 1=1
AND ( ( wp_postmeta.meta_key = '_edd_product_type'
AND wp_postmeta.meta_value != 'bundle' )
OR mt1.post_id IS NULL )
AND wp_posts.post_type = 'download'
AND ((wp_posts.post_status = 'publish'
OR wp_posts.post_status = 'future'
OR wp_posts.post_status = 'draft'
OR wp_posts.post_status = 'private'))
GROUP BY wp_posts.ID
ORDER BY wp_posts.post_title ASC
LIMIT 0, 30————————–
