Title: Deprecated jQuery code
Last modified: December 10, 2021

---

# Deprecated jQuery code

 *  [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-24/)
 * 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)

 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-24/#post-15153258)
 * 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.

 * ![](https://ps.w.org/woo-orders-tracking/assets/icon-256x256.gif?rev=3080899)
 * [Orders Tracking for WooCommerce](https://wordpress.org/plugins/woo-orders-tracking/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-orders-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-orders-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-orders-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-orders-tracking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-24/#post-15153258)
 * Status: not resolved