• Resolved a223123131

    (@a223123131)


    .
    With your plugin installed I get erors shown checking my site on https://web.dev caused by the jQuery event-aliases like .load(), .unload() or .error() that all are deprecated since jQuery 1.8.
    I haven’t checked all, but found .load events. Could you please update your code?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    Thanks for letting me know, I’m working through the various deprecated methods and will release another update within the next couple days.

    With the jQuery Migrate script running on WP these should just be showing up as warning right now, but I will resolve them as soon as I can.

    Thread Starter a223123131

    (@a223123131)

    Great, thanks @metaphorcreations

    Merry Christmas

    Plugin Author metaphorcreations

    (@metaphorcreations)

    I have released an update that has resolved deprecated jQuery methods. Let me know if you still have any issues.

    Have a Merry Christmas!

    Thread Starter a223123131

    (@a223123131)

    Thanks @metaphorcreations

    I still see this:

    $(img).load(function () {
    This is in line 41 in ditty-news-ticker-images.js (and also in the min.js file)

    $.error( 'Method ' + method + ' does not exist in ditty_news_ticker' );
    This is in line 1481 ditty-news-ticker.js (and also in the min.js file)

    $.error( 'Method ' + method + ' does not exist in mtphr_dnt_list' );
    This is in line 524 in admin-general.js

    t.error("Method "+i+" does not exist in mtphr_dnt_list"):e.init.apply(this,arguments)}}(jQuery);
    This is at the end of file script-admin.min.js

    I’m not a programmer, but Lighthouse is reporting old code and that’s why I searched your plugin for .load( / .unload( / .error(
    I’m not sure if this was right.

    • This reply was modified 4 years, 3 months ago by a223123131.
    Plugin Author metaphorcreations

    (@metaphorcreations)

    I made a few more adjustments to resolve these deprecations.

    Thread Starter a223123131

    (@a223123131)

    Thanks!

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