jQuery .load Depreciation [SOLVED]
-
Hi there, I very much enjoy your plugin and thank you for your sharing with the community. As we prep for WP 5.6 we are looking through our sites to identify any potential deprecations due to the upcoming jQuery changes and I spotted the following error in this plugin.
Line 387 in soliloquy-lite/includes/global/shortcode.php:
jQuery(window).load(function(){
It just needs to be changed to:
jQuery(window).on('load',function(){
I’ve patched the core file in my install for now but hopefully this can be included in a future update so we don’t need to worry about keeping it current.
Thanks again for the great work!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘jQuery .load Depreciation [SOLVED]’ is closed to new replies.