Title: Deprecated Code
Last modified: July 1, 2021

---

# Deprecated Code

 *  Resolved [ldigregorio](https://wordpress.org/support/users/ldigregorio/)
 * (@ldigregorio)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-23/)
 * Hello,
 * With all the recent JS/JQuery changes to the WP core, yoast is showing deprecated
   code:
 * /wp-content/plugins/wordpress-seo/js/dist/post-edit-1650.js:1:101578): jQuery.
   unique is deprecated; use jQuery.uniqueSort
 * Can the code be updated before core 5.9 release please? If not, it could potentially
   break our site. Thank you
    -  This topic was modified 4 years, 11 months ago by [ldigregorio](https://wordpress.org/support/users/ldigregorio/).

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

 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-23/#post-14617969)
 * Hi [@ldigregorio](https://wordpress.org/support/users/ldigregorio/)
 * Could you let us know if you are using the latest version of WordPress 5.7.2 
   and Yoast SEO for WordPress 16.6.1, and your website meets all the necessary 
   [plugin requirements](https://yoast.com/help/plugin-requirements/)?
 * Could you also let us know how to reproduce this issue exactly where you are 
   seeing this deprecation message so we can check on this further?
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-23/#post-14641774)
 * Hello,
 * This thread has been marked as resolved due to lack of activity by original poster.
 * If you are not the original poster but have a similar issue, please [open a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).
 *  Thread Starter [ldigregorio](https://wordpress.org/support/users/ldigregorio/)
 * (@ldigregorio)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-23/#post-14652711)
 * Hi Michael,
 * I was on vacation. Sorry I wasn’t able to get back to you sooner. Here are the
   answers you need:
    1. We are using WordPress 5.7.2 2. Yoast 16.5. At the time
   I wrote this, I think Yoast 16.6.1 has just come out and we were not yet scheduled
   to do all our upgrades.
 * 3. Our multi-site meets all the plugin requirements.
 * 4. Not sure how you would replicate the issue, as I found it by the jquery migrate
   plugin made by WordPress/automatic –specifically made to find deprecations so
   they can be fixed before core 5.9 release. Maybe install their plugin to find
   the issues with your plugin?

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

The topic ‘Deprecated Code’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [deprecated code](https://wordpress.org/support/topic-tag/deprecated-code/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 3 replies
 * 2 participants
 * Last reply from: [ldigregorio](https://wordpress.org/support/users/ldigregorio/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-23/#post-14652711)
 * Status: resolved