Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#31276 closed enhancement (fixed)

Load json2.js only in browsers that need it

Reported by: azaozz Owned by: azaozz
Priority: normal Milestone: 4.2
Component: Script Loader Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Now that we have IE conditional comments for JS, we should be loading json2.js only in browsers that still need it, lt IE 8. That would load about 18kb less JS.

Attachments (1)

31267.patch (815 bytes ) - added by azaozz 12 years ago.

Download all attachments as: .zip

Change History (4)

@azaozz
12 years ago

#1 @azaozz
12 years ago

  • Keywords has-patch added

#2 @azaozz
12 years ago

  • Owner set to azaozz
  • Resolutionfixed
  • Status newclosed

In 31526:

Load json2.js only in IE7 and older. Fixes #31276.

#3 @nacin
12 years ago

Nice! Easy win.

Note: See TracTickets for help on using tickets.