• Malae

    (@malae)


    Hello Simon,

    Could you please fix the following deprecated jQuery:

    jQuery.type is deprecated
    /wp-content/plugins/slide-anything/owl-carousel/owl.carousel.min.js	
    jQuery.fn.resize() event shorthand is deprecated
    /wp-content/plugins/slide-anything/owl-carousel/owl.carousel.min.js

    Also:

    jQuery(window).on(\'load\'...) called after load event occurred
    /wp-content/plugins/slide-anything/owl-carousel/owl.carousel.min.js

    Thanks.

    • This topic was modified 4 years ago by Malae.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Ok, I’m not seeing these Deprecated jQuery messages.

    I’ve just updated my SA Demo Site to the latest version of WP (ver 5.7), updated my Divi theme to its latest version and all my plugins. I’m not seeing Deprecated messages in the Chrome JS console (in both the front-end and back-end). I had a look in Firefox console too.

    I would guess that you are using a different version of jQuery than the one bundled with WordPress – maybe a plugin you installed uses its own version of jQuery (which is not the best practice).

    Have you installed a jQuery migrate plugin (jQuery Manager)?

    Thread Starter Malae

    (@malae)

    I have the WordPress 5.7 installed with the Enable jQuery Migrate Helper plugin and it is logging these deprecated properties. It is set to use the default jQuery on WordPress, which is version 3.5.1.

    I see the same notifications on the lastest versions of Firefox and Chrome on Windows accessing my hosted site; also Firefox and Chromium on Linux accessing the same site on a LAMP server.

    Plugin Author simonpedge

    (@simonpedge)

    Ok, thank you for the feedback. I Installed the “jQuery Migrate Helper” plugin and this is what I see:
    https://i.imgur.com/9nNzSsL.png

    So I’ve added this to my SA To-Do list.
    If won’t affect the functionality of SA in the near to medium future though.

    Thread Starter Malae

    (@malae)

    Thanks, no rush. I checked the .resize and found one instance, which I changed to .on('resize', and it seems to have fixed it, but I have not tried anything with the others.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated jQuery’ is closed to new replies.