When using the plugin on wp 5.5.3 and turning on jquery 3.5.1 and or turn ON or OFF jquery migrate i see no warning messages. Even if i turn on debug_script in the wp-config.php.
Loading wp 5.7 which by default ships with the latest jquery migrate i see warning messages like these
But even if i unload jquery migrate everything works just fine.
In wp 5.5.3 and turning off jquery migrate in the test jquery plugin every thing works just fine with jquery 3.5.1
According to the warning i must rewrite image.hover(function to image.on('hover', function(....
to this and replace on line 3 .hover for on("hover"... it stops working whereas the old function in wp 5.7 or 5.5.3 without jquery migrate just works fine.
1) why even without the jquery migrate loaded are these scripts still working just fine with jquery 3.5.1
2) and why is wp 5.5.3 with the test jquery updates plugin not showing any warnings at all even with jquery migrate turned on. These messages only appear in wp 5.7 beta when scripts_debug is set to true
Hi
When using the plugin on wp 5.5.3 and turning on jquery 3.5.1 and or turn ON or OFF jquery migrate i see no warning messages. Even if i turn on debug_script in the wp-config.php.
Loading wp 5.7 which by default ships with the latest jquery migrate i see warning messages like these
But even if i unload jquery migrate everything works just fine.
In wp 5.5.3 and turning off jquery migrate in the test jquery plugin every thing works just fine with jquery 3.5.1
According to the warning i must rewrite image.hover(function to image.on('hover', function(....
But if i rewrite this
to this and replace on line 3 .hover for on("hover"... it stops working whereas the old function in wp 5.7 or 5.5.3 without jquery migrate just works fine.
The question i have is
1) why even without the jquery migrate loaded are these scripts still working just fine with jquery 3.5.1
2) and why is wp 5.5.3 with the test jquery updates plugin not showing any warnings at all even with jquery migrate turned on. These messages only appear in wp 5.7 beta when scripts_debug is set to true