Support » Plugin: Inline Image Upload for BBPress » deprecated event aliases

  • Hi,

    the plugin wasn’t able to upload images any more when I included a newer jquery version (3.1.1) to my website.

    I figured out that you are using .load(function() in bbp-image-upload.js at line 16. What I read from in the internet event aliases like .load, .unload or .error are deprecated since jQuery 1.8.

    I got everything working by changing .load(function() to .on(‘load’, function() in line 16.

    complete line:

    jQuery('#hm_bbpui_file_frame').on('load', function() {

    Is this something you may change upstream?



  • The topic ‘deprecated event aliases’ is closed to new replies.