Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#21661 closed enhancement (fixed)

Move unused JavaScript libraries to external sources

Reported by: scribu Owned by: nacin
Priority: normal Milestone: 3.5
Component: External Libraries Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description (last modified by scribu)

From IRC chat:

helenyhou: can we drop any bundled libraries that aren't actually being used in core? i assume they'd have to point to something external to account for enqueue calls.

nacin: helenyhou: I think it's probably time to do that to prototype and scriptaculous.

Attachments (1)

21661.diff​ (3.5 KB ) - added by helenyhou 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
14 years ago

  • Description modified (diff)

@helenyhou
14 years ago

#2 @helenyhou
14 years ago

  • Component General → External Libraries
  • Keywords has-patch added; needs-patch removed

21661.diff​ Yay protocol-relative URLs. Do we care that Prototype and Scriptaculous are not current versions?

#3 @scribu
14 years ago

If we cared, we'd have updated them to current versions, no? :)

#4 @nacin
14 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In [21593]:

Remove Prototype and script.aculo.us from core.

Continue to register them, pulling from ajax.googleapis.com. This is only being done for backwards compatibility;
libraries in use will continue to be local sources.

In the process, update to the latest versions of Prototype (1.7.1, June 5) and script.aculo.us (1.9.0, from 2010).

props helenyhou.
fixes #21661, #16664, #16665.

Note: See TracTickets for help on using tickets.