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-22/)
 * Hello,
 * With the many changes to WP core, deprecations are starting to appear for various
   plugins. There’s one for this plugin. Can this be updated so that it won’t break
   with the 5.9 core coming.
 * wp-content/plugins/media-library-assistant/js/mla-terms-search-scripts.js: jQuery.
   fn.click() event shorthand is deprecated
 * Thank you

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-22/#post-14621584)
 * Thanks for alerting me to these changes.
 * I have found a number of `click()` and `isFunction` instances in the MLA code
   and I am working on resolving them and testing the changes. I will post an update
   here when I have progress to report.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-code-22/#post-14623734)
 * I have uploaded a new MLA Development Version dated 20210628 that includes the
   enhanced “MLA CSV Data Source Example” plugin. You can find step-by-step instructions
   for using the Development Version in this earlier topic:
 * [PHP Warning on media upload with Polylang](https://wordpress.org/support/topic/php-warning-on-media-upload-with-polylang/#post-9625341)
 * Once the Development Version is installed you can verify that the deprecations
   have been resolved. You will have to clear the browser cache or perform a “hard”
   refresh of the affected pages because the Development Version doesn’t change 
   the version number of the scripts.
 * The fixes will be in my next MLA version shortly after WordPress 5.8 is released.
   In the interim, it would be great if you could install the Development Version
   and let me know if it works for you. Thanks again for alerting me to this issue.
 *  Thread Starter [ldigregorio](https://wordpress.org/support/users/ldigregorio/)
 * (@ldigregorio)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/deprecated-code-22/#post-14677266)
 * Hi David,
 * Just saw this reply. I will test, but where exactly is the code that was uploaded
   please?
 *  Thread Starter [ldigregorio](https://wordpress.org/support/users/ldigregorio/)
 * (@ldigregorio)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/deprecated-code-22/#post-14677465)
 * Hi David,
 * I tested and found that it works. Thank you. I will wait for it to be released
   after core 5.8
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/deprecated-code-22/#post-14699768)
 * Thanks for testing the Development Version and confirming the fix.
 * I have released MLA version 2.96, which contains the fix for this defect. I am
   marking this topic resolved, but please update it if you have trouble with the
   new version. Thanks again for your help with this issue.

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

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

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/deprecated-code-22/#post-14699768)
 * Status: resolved