• Resolved Rob de Cleen

    (@rdc2701)


    Hi,

    To start with: have a great 2021 and thank you for this excellent caching plugin.

    Just a heads up, something I noticed with my (heavily customised and old) theme, but maybe of use also for others.

    When I check

    > General Settings > User Experience > > Disable jquery-migrate on the front-end

    then the mobile menu becomes unresponsive to tap/touch on iOS browsers.

    This does not look to be a W3TC problem, because the same disruption happens when I disable jQuery migrate in the frontend through the theme functions.php.
    Looks like it was a change introduced with the WP 5.6 jQuery 3.5.1 inclusion?

    Kind regards,

    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rdc2701

    Thank you for your inquiry and I am happy to answer
    Most WordPress sites that use up-to-date themes and plugins don’t require jQuery Migrate in the front end, and thus the script can be removed.
    What you are experiencing means that some functions are dependant on jquery and when jquery is disabled, it impacts the functionality of the website, in your case, the mobile menu.
    So you should keep jquery-migrate enabled to avoid this and make sure to re-do the website for the future.
    Thanks!

    Thread Starter Rob de Cleen

    (@rdc2701)

    Hi Marko,

    Thanks for your reply. To make thing clearer: the theme code has already been updated to fit jQuery 3.5.1, the plugin “Enable jQuery Migrate Helper” is NOT installed (it was uninstalled after testing). All plugins and WP are up-to-date.

    And what I described above happens when (with this up-to-date situation) I disable jQuery Migrate in the frontend, either through W3TC or the functions.php of the theme…

    Before WP 5.6 I had the same code in my functions.php to remove jQuery Migrate from the frontend (even if jQuery Migrate was NOT installed) and it never created problems.

    But now it affects the mobile menu touch. Which is why I thought I’d mention it.

    Regards,
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Note on Disable jquery-migrate front-end WP 5.6’ is closed to new replies.