Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#21661 closed enhancement (fixed)

Move unused JavaScript libraries to external sources

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

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 13 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
13 years ago

  • Description modified (diff)

@helenyhou
13 years ago

#2 @helenyhou
13 years ago

  • Component changed from General to 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
13 years ago

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

#4 @nacin
13 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to 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.