• Resolved sleeplessindc

    (@sleeplessindc)


    1- /wp-content/plugins/wordfence/js/jquery.dataTables.min.1607007971.js:16:50549): jQuery.isArray is deprecated; use Array.isArray

    2- /wp-content/plugins/wordfence/js/admin.1607007971.js:71:8): jQuery.fn.focus() event shorthand is deprecated

    3- /wp-content/plugins/wordfence/js/admin.1607007971.js:73:19): jQuery.fn.click() event shorthand is deprecated

    4- /wp-content/plugins/wordfence/js/admin.1607007971.js:84:23): jQuery.fn.click() event shorthand is deprecated

    5- /wp-content/plugins/wordfence/js/admin.1607007971.js:99:29): jQuery.fn.click() event shorthand is deprecated

    6- /wp-content/plugins/wordfence/js/admin.1607007971.js:109:23): jQuery.fn.click() event shorthand is deprecated

    7- /wp-content/plugins/wordfence/js/admin.1607007971.js:114:32): jQuery.fn.click() event shorthand is deprecated

    8- /wp-content/plugins/wordfence/js/admin.1607007971.js:123:15): jQuery.fn.bind() is deprecated

    9- /wp-content/plugins/wordfence/js/admin.1607007971.js:126:24): jQuery.fn.click() event shorthand is deprecated

    10- /wp-content/plugins/wordfence/js/admin.1607007971.js:774:39): jQuery.fn.change() event shorthand is deprecated

    11- /wp-content/plugins/wordfence/js/admin.1607007971.js:778:33): jQuery.fn.mouseup() event shorthand is deprecated

    12- /wp-content/plugins/wordfence/js/admin.1607007971.js:710:36): jQuery.fn.change() event shorthand is deprecated

    13- /wp-content/plugins/wordfence/js/admin.1607007971.js:173:23): jQuery.fn.bind() is deprecated

    14- /wp-content/plugins/wordfence/js/admin.1607007971.js:676:17): jQuery.fn.focus() event shorthand is deprecated

    15- /wp-content/plugins/wordfence/js/wfselect2.min.1607007971.js:1:52232): jQuery.isArray is deprecated; use Array.isArray

    16- /wp-content/plugins/wordfence/js/knockout-3.3.0.1607007971.js:15:343): jQuery.fn.bind() is deprecated

    17- /wp-content/plugins/wordfence/js/jquery-ui-timepicker-addon.1607007971.js:307:19): jQuery.fn.bind() is deprecated

    18- /wp-content/plugins/wordfence/js/admin.liveTraffic.1607007971.js:847:35): jQuery.fn.submit() event shorthand is deprecated

    19- /wp-content/plugins/wordfence/js/admin.liveTraffic.1607007971.js:916:72): jQuery.isFunction() is deprecated

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @sleeplessindc and thanks for reaching out to us!

    Your theme or another plugin may not be compatible with WordPress 5.5 due to the change of deprecation for the jQuery Migrate development tool and your theme or another plugin is now breaking our JavaScript.

    Install the Enable jQuery Migrate Helper plugin below and see if it work now:

    https://www.ads-software.com/plugins/enable-jquery-migrate-helper/

    If it works then please note that Wordfence is not the cause of this as Wordfence is fully compatible with WordPress 5.5

    Your theme or another plugin is incompatible with WordPress 5.5 and is now breaking our JavaScript.

    You may find this useful:

    https://www.ads-software.com/support/topic/read-this-first-wordpress-5-5-master-list/

    Let me know if this helps!

    Thanks!

    Thread Starter sleeplessindc

    (@sleeplessindc)

    You say everything works fine for WordPress 5.5 but that doesn’t solve the problem. I am using the latest WordPress version 5.6, which may explain why the deprecated functions are displaying. I already had the Enable jQuery Migrate Helper plugin installed for WP 5.5 and it self-downgraded to the legacy jQuery version.
    Now that WP 5.6 is out, I reset jQuery to use the default WordPress jQuery, hence the errors.
    Test your app in the latest WordPress version.

    Plugin Support WFAdam

    (@wfadam)

    Is the Jquery Migrate plugin still enabled while you are seeing these errors or is it only after you disable it?

    I am trying to see exactly what might be causing it.

    Can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    Thanks!

    Plugin Support WFAdam

    (@wfadam)

    Can you also check if the option is enabled Detect and log deprecations in the default WordPress version of jQuery in the jQuery Migrate Helper plugin?

    The description below that option says this may report many entries from WordPress itself. This is expected, as WordPress continues to update its own code in the upcoming releases. We already are compatible with WP 5.6, and have begun testing with the changes that will occur in WP 5.7. “Deprecated” doesn’t mean you can’t use those functions, but rather in a future version they will be removed, so not all of these need to be changed yet.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘19 jQuery functions are deprecated’ is closed to new replies.