• Resolved franciscus

    (@franciscus)


    I am using [bne_testimonials layout=”slider”]. As of WP 5.5, the slider does not display anything.

    Installing the “Enable jQuery Migrate Helper” plugin solves the problem and reports:
    jQuery.fn.load() is deprecated

    That call is in
    \wp-content\plugins\bne-testimonials\includes\lib\cmb2\apigen\theme-bootstrap\src\js\jquery.min.js

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kerry

    (@bluenotes)

    Hello,

    I’m not seeing that occur on my end using the default 2020 theme on WP 5.5

    https://dev.bnecreative.com/plugins/testimonial-slider/

    Are you sure on where it’s being called from. The jquery file you mentioned would not be used on the frontend for the slider as the default jquery.min.js would come from WP itself (/wp-includes/js/jquery/jquery.js) instead.

    I’ve also tried using the latest version of jQuery 3.5.1 using the jQuery Updater plugin along with removing migrate on that one and the slider still works as expected.

    Digging deeper though, the version of JS you referenced is a much older one in the CMB2 library, but still should not be called as WP would use the one it comes with or one that is newer. So something else must be referencing that particular one and it’s getting called.

    On a side note, there’s nothing wrong with keeping the migrate helper around, but I would suggest perhaps investigating further to see if another plugin is somehow getting that one called.

    Thread Starter franciscus

    (@franciscus)

    I am sorry, you are right. The diagnostic message from jQuery Migrate Helper was misleading.
    The problem was caused by code in my theme that is incompatible with the new jQuery used in 5.5. I have contacted the theme developer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery not working even in 2.0.6’ is closed to new replies.