• On inc/twenty20-shortcode.php:75 and inc/widget-twenty20.php:61, the deprecated method
    jQuery(window).load()
    is used instead of
    jQuery(window).on('load') (or $(window).on('load')).
    This breaks the plugin when jQuery 3 is used and causes images not to be shown at all (height 0px).

    The .load() method is deprecated as of jQuery 1.8, and removed as of jQuery 3.0. Please fix these two usages; all other event handlers I could find in the plugin codebase are correctly attached with .on().

    • This topic was modified 3 years, 9 months ago by Pwuts.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘deprecated jQuery function .load() used; breaks with new versions’ is closed to new replies.