• Resolved robwent

    (@robwent)


    The colorbox script used for the new wordfence popups uses the ‘live’ function which was deprecated in 1.9, so any site not loading jQuery migrate will have js errors when an admin is logged in on the frontend.

    I understand that this is more of a theme/plugin issue where the core jquery/migrate scripts aren’t being used, but, at the same time, if you use a more modern lightbox then it wouldn’t be an issue.

    https://wordpress.org/plugins/wordfence/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi robwent,
    Thanks for reporting this issue to us, I appreciate your time spent in tracing this one, the development team is aware of this issue, as a temporary solution you can add this line of code to (theme-functions.php) file in your theme directory:
    remove_action('wp_enqueue_scripts', 'wordfence::enqueueAJAXWatcher');

    This should fix this issue temporarily.
    Thanks again.

    Thread Starter robwent

    (@robwent)

    Hi,

    No problem.

    I found the lines in our theme that loaded jquery and added this after

    wp_enqueue_script('jquery-migrate');

    It only affected admins anyway so not a massive problem for me.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Colorbox errors with some themes’ is closed to new replies.