Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#15147 closed defect (bug) (fixed)

jQuery 1.4.3 breaks Prototype 1.6.1

Reported by: neoxx Owned by: filosofo
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: JavaScript Keywords: has-patch
Focuses: Cc:



According to my tests, the recent update of jQuery (#15135) breaks Prototype if both libraries are included at the same time (which they are if Prototype is used in the back-end, especially with the new admin bar).

Just try:


I get a element.dispatchEvent is not a function in Firebug which has been fired from the call
element.dispatchEvent(event); in line 4619 of prototype.js.

Reverting to the jQuery 1.4.2 directory of WordPress 3.0.1 solves the problem...

Can anybody confirm this?


Attachments (1)

no-conflict.15147.diff (2.1 KB) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (3)

@filosofo5 years ago

comment:1 @filosofo5 years ago

  • Keywords has-patch added; jquery prototype javascript removed
  • Milestone changed from Awaiting Review to 3.1
  • Owner set to filosofo
  • Status changed from new to assigned

Patch should fix: missing no-conflict.

comment:2 @automattor5 years ago

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

(In [15840]) Restore jQ noConflict. props filosofo, fixes #15147.

Note: See TracTickets for help on using tickets.