WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#11900 closed enhancement (fixed)

Upgrade to jQuery 1.4.1 / 1.4.2

Reported by: scribu Owned by: azaozz
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: JavaScript Keywords:
Focuses: Cc:

Description

jQuery 1.4 has just been released today.

We should adopt it ASAP to have time for optimizations, testing etc.

Attachments (2)

11900.diff (125.2 KB) - added by ryan 11 years ago.
jquery.upadate.to.1.4.1.patch (134.0 KB) - added by Simek 11 years ago.

Download all attachments as: .zip

Change History (10)

#1 @archon810
11 years ago

Seems like it has better performance, among other things. Should definitely squeeze it into 3.0.

@ryan
11 years ago

#3 @ryan
11 years ago

Widget and dashboard drag-drop, re-order, open/close looking good. Screen options okay. Autosave okay. Menu open/close okay. Not seeing anything in the console not seen also with jQuery 1.3.2.

#4 @ryan
11 years ago

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

(In [12792]) jQuery 1.4. fixes #11900

#5 @Lazy79
11 years ago

  • Summary changed from Upgrade to jQuery 1.4 to Upgrade to jQuery 1.4.1 / 1.4.2

sorry for my comment to an closed ticket

jQuery 1.4.1 Bugfix Version released - but jQuery 1.4.2 should follow soon. maybe waiting for 1.4.2 to upgrade.

#6 @nacin
11 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Might as well re-open this ticket then.

I'm thinking we should keep committing the most recent release, even if 1.4.2 is soon to follow, as it'll give us as much time as possible to kick the tires.

#7 @azaozz
11 years ago

Lets hope this won't break lots of plugins like the last update. These don't look good:

Backwards-Incompatible Changes
...
jQuery() (with no arguments) no longer converts to jQuery(document).

If an Ajax request is made without specifying a dataType and it is returned as text/javascript, it will be executed. Previously, an explicit dataType was required.

#8 @ryan
11 years ago

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

(In [13011]) jQuery 1.4.1. Props Simek. fixes #11900

Note: See TracTickets for help on using tickets.