• When using the jQuery Migrate Helper — Warnings encountered
    This page generated the following warnings:

    wp-content/plugins/hd-quiz/includes/js/hdq_admin.js: jQuery.fn.click() event shorthand is deprecated
    wp-content/plugins/hd-quiz-save-results-light/includes/js/hdq_a_light_admin.js: jQuery.fn.load() is deprecated
    wp-content/plugins/hd-quiz-save-results-light/includes/js/hdq_a_light_admin.js: jQuery.fn.click() event shorthand is deprecated
    wp-content/plugins/hd-quiz/includes/js/hdq_admin.js: jQuery.fn.click() event shorthand is deprecated
    Please make sure you are using the latest version of all of your plugins, and your theme. If that is the case, then you may want to ask the developers of the code mentioned in your warnings to update it.`

    Could you please update, thank you.

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

    (@harmonic_design)

    Hi ipajen,
    first of all – thanks for posting. I don’t use migrate helper and HD Quiz barely even used jQuery anymore (Vanilla JS is king), so I would probably not have known about this otherwise.

    Luckily warnings are NOT errors. In this case, the version of jQuery you have bundled with your install has deprecated a shorthand function name for clicking elements and is console logging this warning to let people like me know that the shorthand will be removed in some unknown future version of jQuery.

    So what does this mean? The first thing it means is that there is nothing wrong and everything will continue to work as intended, but not forever. At some point in the future, functionality might break unless I update to whatever the recent jQuery function names are.

    So what will be done? I’ll be sure to update the function names for the next release, and if possible, completely remove jQuery dependency altogether!

    Thread Starter Jarko Piironen

    (@ipajen)

    @harmonic_design Perfect thanks, Yes I like to be early and as you say today its not a problem but will be in the future so its perfect you can fix it the next release, Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Update JQuery’ is closed to new replies.