Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @d4z_c0nf

    That’s correct, it’s about the same bug which will be resolved in next update.
    Meanwhile, you can create a little MU plugin to surpass that.
    Simply create a new PHP file in your server, like
    wp-content/mu-plugins/smush-fix.php
    (just create the /mu-plugins/ folder, if it doesn’t exist already)
    and insert in there the exact snippet (no empty lines and/or spaces on top of file please).

    <?php
    /**
     * Dequeue Smush media script.
     *
     * Add it in Smush plugin so that it can be overwritten after update
     */
    function smush_dequeue_media_script() {
       wp_dequeue_script( 'smush-media-view' );
    }
    add_action( 'wp_print_scripts', 'smush_dequeue_media_script', 100 );

    Warm regards,
    Dimitris

    Thread Starter Rocco Aliberti

    (@d4z_c0nf)

    Hi Dimitris,
    thanks.

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with the Yoast SEO when editing a media image’ is closed to new replies.