Support » Fixing WordPress » WordPress with tinymce trying open not existing image in loop

  • lolalola

    (@lolalola)


    Hi,
    If in WordPress text redactor is inserted image with wrong source (image is not exist) – WordPress text redactor trying open that image in loop (every few seconds).

    How can disable loop or change the interval?

    Print screen: https://i.stack.imgur.com/o0SBH.png

Viewing 1 replies (of 1 total)
  • Hello,

    I think it happens because of Heartbeat API:

    Heartbeat API allows your browser to communicate with the server when you’re logged into the WordPress admin panel. This functionality allows WordPress to handle things like showing other authors that a post is being edited by another user, plugins can hook up to those “ticks” and show you notifications in real time, etc.

    you can disable heartbeat completely by adding the following code into your theme’s functions.php file:

    add_action( 'init', 'stop_heartbeat', 1 );
    function stop_heartbeat() {
    wp_deregister_script('heartbeat');
    }

    or you can control heartbeat’s interval with Heartbeat Control plugin.
    Let me know if it helps.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress with tinymce trying open not existing image in loop’ is closed to new replies.