Deprecated function causes issues with slides
-
Beginning with WordPress 5.5, this plugin (version 2.2.0) has issues on the WordPress admin backend. The following error is reported:
Uncaught TypeError: $(…).live is not a function
In addition, new images cannot be added as slides, as the Add Images button does not work.
Two deprecated functions are used in the plugin’s admin JavaScript.
Replace “live” in lines 16 and 55. PHP should appear as follows:
Line 16: $(‘#upload_image_button’).on( ‘click’, function(e) {
Line 55: $(‘img.bsm-image-remove’).on(‘click’, function (e){The page I need help with: [log in to see the link]
- The topic ‘Deprecated function causes issues with slides’ is closed to new replies.