• I am using the latest jquery in my wordpress website. Ever since jquery 1.7 the $.live method has been deprecated; we are now at jquery version 1.10.2 (or even 2.0.3). WordPress core and jetpack have updated their code to use the new “$.on” method after I encouraged them to do so, I would encourage you to do the same.
    I counted 21 instances of the “$.live” method in “/pub/js/options.js”, so I won’t even list them all. Here is one example of how to correctly upgrade:
    Line 443 is now:

    jQuery('.button-tweet').live('click', function() {

    It should be:

    jQuery('document').on('click', '.button-tweet', function() {

    The same goes for all other 20 instances in options.js.

    http://wordpress.org/plugins/w3-total-cache/

  • The topic ‘jquery deprecated method $.live’ is closed to new replies.