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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘jQuery.load is deprecated’ is closed to new replies.