• It seems I finally found the culprit that is slowing my admin/backend to a crawl.

    Two queries being made when I try to “add new page” in my admin dashboard:

    <em>QUERY</em>
    SELECT ID
    FROM wp_posts
    WHERE post_type = 'attachment'
    AND post_mime_type LIKE 'audio%'
    LIMIT 1
    
    <em>CALLER:</em>
    wp_enqueue_media-
    include('wp-admin/edit-form-advanced.php')
    
    <em>TIME:</em>
    29.2327

    The query is rougly the same time but the query says “video%” instead of “audio”.

    I found many instances of this being discussed but any “solution” seems, from what I’ve read, not elegant, some are old, and they all require some skills most of us, I think, don’t have – at least I don’t have them ??

    Does anyone know of a fix for this?

    Thank you!

  • The topic ‘wp_enqueue_media taking 50 seconds to load’ is closed to new replies.