• Hi. The plugin is full of deprecated jQuery code – partially from your own code and partially from outdated versions of 3rd party libraries such as select2, transition, etc. Please update your code and these libraries.

    Here’s what I found (and I suspect there’s much more):

    jQuery.isArray is deprecated; use Array.isArray in /wp-content/plugins/woo-orders-tracking/assets/js/tab.js
    jQuery.isArray is deprecated; use Array.isArray in /wp-content/plugins/woo-orders-tracking/assets/js/dropdown.min.js
    jQuery.trim is deprecated; use String.prototype.trim in /wp-content/plugins/woo-orders-tracking/assets/js/dropdown.min.js
    jQuery.isArray is deprecated; use Array.isArray in /wp-content/plugins/woo-orders-tracking/assets/js/transition.min.js
    jQuery.isArray is deprecated; use Array.isArray in /wp-content/plugins/woo-orders-tracking/assets/js/select2.js
    jQuery.fn.click() event shorthand is deprecated in /wp-content/plugins/woo-orders-tracking/assets/js/admin-setting.js
    jQuery.fn.keyup() event shorthand is deprecated in /wp-content/plugins/woo-orders-tracking/assets/js/admin-edit-order.js
    jQuery.isFunction() is deprecated in /wp-content/plugins/woo-orders-tracking/assets/js/tab.js
    jQuery.isFunction() is deprecated in /wp-content/plugins/woo-orders-tracking/assets/js/transition.min.js
    jQuery.fn.keyup() event shorthand is deprecated in /wp-content/plugins/woo-orders-tracking/assets/js/admin-setting.js
    jQuery.parseJSON is deprecated; use JSON.parse in /wp-content/plugins/woo-orders-tracking/assets/js/admin-setting.js
    jQuery.parseJSON is deprecated; use JSON.parse in /wp-content/plugins/woo-orders-tracking/assets/js/admin-edit-order.js
    jQuery.fn.change() event shorthand is deprecated in /wp-content/plugins/woo-orders-tracking/assets/js/admin-edit-order.js
    jQuery.fn.change() event shorthand is deprecated in /wp-content/plugins/woo-orders-tracking/assets/js/admin-custom-control.js

Viewing 1 replies (of 1 total)
  • Hello,
    Thank you for the information.
    We will review the plugin and replace all deprecated functions in the next update.
    Best regards

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