Skip to:
Content

Opened 5 years ago

Closed 5 years ago

#4714 closed defect (bug) (fixed)

jQuery .live() method deprecated

Reported by: cnorris23 Owned by:
Milestone: 1.7 Priority: normal
Severity: normal Version: 1.7
Component: Core Keywords: has-patch
Cc:

Description

[6629] and [6630] replace .click() with .live(). The .live() method was deprecated starting with 1.7 (used by WP 3.4), and it's use has been recommended against, since 1.4.3. The .on() method should be used instead.

Attachments (1)

4714.patch (11.5 KB) - added by cnorris23 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnjamesjacoby
5 years ago

  • Milestone changed from Awaiting Review to 1.7

Go figure.

@cnorris23
5 years ago

#2 @cnorris23
5 years ago

  • Keywords has-patch added; needs-patch removed

Patch replaces .live() with .on(). Pretty straightforward.

#3 @johnjamesjacoby
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6635]) Swap out .live() calls for .on(). Props cnorris23. Antiprops jjj. Fixes #4714.

Note: See TracTickets for help on using tickets.