Title: jQuery.load is deprecated
Last modified: June 1, 2020

---

# jQuery.load is deprecated

 *  Resolved [sevimo](https://wordpress.org/support/users/sevimo/)
 * (@sevimo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/jquery-load-is-deprecated/)
 * jQuery.load(handler) has been deprecated since 1.8, and is completely removed
   in jQuery 3.x. This means that there is one line in UM code that breaks any modern
   jQuery (for people who keep their jQ framework more up to date than the ancient
   version in the base WP). Here is a trivial fix for that (just one line, does 
   not change the semantics):
 *     ```
       function um_add_form_honeypot_js() {
               ?>
                       <script type="text/javascript">
       //                      jQuery(window).load(function() {
                               jQuery(window).on("load", function() {
                                       jQuery("input[name='<?php echo esc_js( UM()->ho$
                               });
                       </script>
               <?php
       }
       ```
   
 * Would be great if that is fixed in the UM directly.
    Thanks!

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

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/jquery-load-is-deprecated/#post-12926490)
 * Hi [@sevimo](https://wordpress.org/support/users/sevimo/)
 * Thanks for letting us know. We are aware of this issue and this will be fixed
   on the next update.
 * Regards,
    -  This reply was modified 6 years, 1 month ago by [Champ Camba](https://wordpress.org/support/users/champsupertramp/).
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-load-is-deprecated/#post-13227936)
 * Hi [@sevimo](https://wordpress.org/support/users/sevimo/)
 *  ..This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards,

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

The topic ‘jQuery.load is deprecated’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-load-is-deprecated/#post-13227936)
 * Status: resolved