• Resolved titsmaker

    (@titsmaker)


    As you know WordPress devs finally decided to upgrade to current JQuery version in 2020. Currently WP core uses latest Jquery + JQuery Migrate, but in the future JQuery Migrate will be gone and all deprecations will turn into errors.
    Your plugin has following deprecated code in edit-tags.js:

    jQuery.isArray
    jQuery.isFunction()
    jQuery.fn.focus()
    jQuery.fn.click()
    jQuery.fn.blur()
    jQuery.expr[\':\']
    jQuery.fn.keydown()
    jQuery.fn.bind()

    Can you please update the code?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter titsmaker

    (@titsmaker)

    Any reaction?

    Thread Starter titsmaker

    (@titsmaker)

    Hi, guys. Can you at least let me know what you think about it?

    Plugin Author Shea Bunge

    (@bungeshea)

    Hi @titsmaker,

    Thank you for bringing this to our attention, and apologies for the delay in responding.

    The errors come from a jQuery library we are using. It looks like it hasn’t been updated in a while, so I’ll make sure I rewrite the deprecated code in the next version.

    Plugin Author Shea Bunge

    (@bungeshea)

    This will be fixed in the next release, thank you once again @titsmaker for the early heads-up.

    Thread Starter titsmaker

    (@titsmaker)

    Just in case – I got one more notice from this library:
    jQuery.trim is deprecated; use String.prototype.trim

    Plugin Author Shea Bunge

    (@bungeshea)

    I’ve switched libraries completely to one without a jQuery dependency, so there shouldn’t be any issues with that, but thank you regardless.

    Thread Starter titsmaker

    (@titsmaker)

    It’s a wise move. Thank you for quick response.

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

The topic ‘Deprecated jQuery code’ is closed to new replies.