• Resolved netzgestaltung

    (@netzgestaltung)


    the usage of “.die” is deprecated in jQuery for a long time now. in newer jQuery versions (2+) this function is removed.

    you have one occurance of “.die” in your plugin files:
    /wp-content/plugins/buddypress-activity-privacy/includes/bp-activity-privacy-integrations.php line 117

    //remove event handler previously attached to
    #bpfb_submitjq("#bpfb_submit").die( "click" );

    that causes an js error which stops executing the other js (including the press enter to submit function at the BuddyPress Wall plugin)

    TypeError: jq(...).die is not a function

    i replaced the string “die” to “off” and the js error is gone

    see https://api.jquery.com/off/ vs https://api.jquery.com/die/

    please consider this change for you next plugin update.

    https://www.ads-software.com/plugins/buddypress-activity-privacy/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Jquery removed function ".die"’ is closed to new replies.