Same here – WordPress 5.5. has stopped the drop-down menus from working.
Is there any solution?
Thread Starter
dimal
(@dimalifragis)
There is no solution and do not expect one (from what i see here).
What i did was DOWNGRADE using this:
https://wordpress.org/plugins/wp-downgrade/
and worked perfectly well. Until i found a solution or an other theme.
Should we report the theme to WordPress? We can do that and it will hopefully pause the theme until it is fixed. (Paused or added a warning.)
Thread Starter
dimal
(@dimalifragis)
No reason to report anything, it doesn’t work that way.
Just go back to an older WP version, switch to an other theme, OR i think there is a plugin for 5.5 that adds back some compatibility.
Try it:
Enable jQuery Migrate Helper plugin
Thank you for your help. That does indeed work.
I hope that they can fix so we don’t have to find another theme!
You don’t need to downgrade your wordpress version, just paste this script in the footer of your site:
<script>
jQuery.browser = {};
(function () {
jQuery.browser.msie = false;
jQuery.browser.version = 0;
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
jQuery.browser.msie = true;
jQuery.browser.version = RegExp.$1;
}
})();
</script>
Thanks, work fine for me!
Thread Starter
dimal
(@dimalifragis)
@dinodef
While your proposed fix does fix the menus error (and possibly others), the complain from JQ migrate plugin remains:
2020-11-17 11:54:33 jQuery.browser is deprecated
2020-11-17 11:54:34 /wp-content/themes/justwrite/assets/js/myscripts.js: jQuery.fn.load() is deprecated
Thank you dinodef for the js fix. That worked for me!
Thank you, thank you, thank you. I pasted the script in footer.php, and the problem was instantly fixed after 6 months of grief.
Thank you @dinodef ~~~~!