Skip to:
Content
Pages
Categories
Search
Top
Bottom

jQuery method "live" deprecated

  • Profile photo of Lwangaman
    Lwangaman
    Participant

    @lwangaman

    I use the latest version of jQuery on my Buddypress enabled website, but jQuery version 1.9 has deprecated the usage of the method “.live()”, so it breaks global.js . I went in and modified global.js myself, substituting every instance of “.live()” with the new method “.on()”. Perhaps it could be something to consider in the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Profile photo of Tammie Lister
    Tammie
    Moderator

    @karmatosed

    WordPress comes with jQuery – I’d advise you use that one rolled in not link in another. Or are you delinking and adding in because you need something in the new release?

    Profile photo of Lwangaman
    Lwangaman
    Participant

    @lwangaman

    Yes I am delinking in a child theme and then linking to the Google repository, because the version rolled with WordPress, particularly jQuery UI, is broken up into separate pieces and is missing a few at that, whereas my own coding requires the full library and is much easier to have it all on hand instead of little pieces, plus I need the latest version.

    I would say that in one way or another, updating WordPress and it’s plugins is a must.

    Profile photo of Lwangaman
    Lwangaman
    Participant

    @lwangaman

    that would be “my own coding”, not “my own choosing”… automatic corrections on smartphones pfft
    okay I was able to edit but now I can’t delete this comment arghh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jQuery method "live" deprecated’ is closed to new replies.