Support » Plugin: Smush - Optimize, Compress and Lazy Load Images » Bulk Smush Button not working

  • Resolved bandsondemandorg

    (@bandsondemandorg)


    Bulk Smush button doesn’t work. I inspected it in Safari and the element has the following code, which looks like it is disabled.

    <div class=”wp-smush-bulk-wrapper “>
    <button type=”button” class=”wp-smush-all sui-button sui-button-blue” title=”Click to start Bulk Smushing images in Media Library” disabled=”disabled”>
    BULK SMUSH NOW </button>
    </div>

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    Hello @bandsondemandorg

    Hope you are doing well!

    The disabled=”disabled” is showing up after the Bulk Smush button is clicked on. Would you please inspect the page and let us know if there are any errors shown in the Console?

    Please see the screenshot:
    https://monosnap.com/file/60nFg8sRhzjG8muoETupNlrdAluec8

    Looking forward to your reply.

    Kind regards,
    Nastia

    Thread Starter bandsondemandorg

    (@bandsondemandorg)

    No error showing in the console and you’re right of course, prior to clicking the button the code shows:
    <div class=”wp-smush-bulk-wrapper “>
    <button type=”button” class=”wp-smush-all sui-button sui-button-blue” title=”Click to start Bulk Smushing images in Media Library”>
    BULK SMUSH NOW </button>
    </div>

    I’m only pasting that here so you know it is correct even though it does nothing.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @bandsondemandorg,
    hope you’re doing well! 🙂

    I tried to replicate this under macOS 10.14.4 and Safari 12.1 with no avail though.
    As this could still be a matter of conflict, could you please proceed with a conflict test? First, create a recent backup in case you lose any settings during the test and have to restore to a previous working state.
    Then deactivate all plugins and MU-plugins apart from Smush, activate a default theme like TwentySeventeen, clear all caches and check again if the issue is still there. If not, it means that something is conflicting, so start activating the remaining plugins and theme, one by one this time, checking every time for the reported issue, until you reproduce the issue, thus finding the conflicted combination. The following flowchart image can assist you during this test: https://premium.wpmudev.org/wp-content/uploads/2015/09/Support-Process-Support-Process.gif
    If this is a live website with traffic, I’d rather advise to create a staging environment, meaning a complete and exact copy of this installation into another location/folder in the same server, using a separate database, and perform the test in there instead without worrying about the live site.

    Looking forward to your results!
    Thank you,
    Dimitris

    Thread Starter bandsondemandorg

    (@bandsondemandorg)

    Sorry about the delay. I deactivated all the plugins and switched the theme over to twenty nineteen. No change. I deleted Smush and reinstalled it and still no change.

    @bandsondemandorg,

    Could you please try adding the following to the theme’s functions.php file:

    function custom_allowed_tags($tags) {
        $tags['a']['data-tooltip'] = array();
        $tags['a']['data-id'] = array();
        $tags['a']['data-nonce'] = array();
    
        return $tags;
    }
    add_filter('wp_kses_allowed_html', 'custom_allowed_tags');

    Best regards,
    Anton

    Thread Starter bandsondemandorg

    (@bandsondemandorg)

    Done. Tried on both the live site and the staging site with everything turned off, but doesn’t seem to do anything.

    Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    Hello @bandsondemandorg

    Hope you’re doing well!

    I apologize for the delay in this thread. Would you please email us, by using this contact form so we could further assist on this issue?

    Please include in the subject “Attn: Nastia” and in the main message, add a link back to this thread.

    Looking forward to your email.

    Kind regards,
    Nastia

    Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    Hello @bandsondemandorg,

    Trust you’re doing well!

    We’ve not heard from you in a while. I’ve marked this ticket as resolved for now, but if you need anything else at all, we’re here for you, please just reopen the ticket or create a new one.

    Have a good day and take care!

    Cheers,
    Nastia

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Bulk Smush Button not working’ is closed to new replies.