WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 4 years ago

#967 closed defect (fixed)

Theme Repository Search Not Working in IE

Reported by: mrwweb Owned by: Otto42
Milestone: Priority: high
Component: Theme Directory Keywords:
Cc:

Description

In Internet Explorer (including in safe mode), the search does not appear to work. One can enter a term but hitting return in the search box does nothing.

There are two errors in the console.

SCRIPT5: Access is denied.
File: follow_button.html, Line: 1, Column: 1

and

SCRIPT5: Access is denied.
File: like.php, Line: 1, Column: 1

And the error is apparently coming from "theme.js on line 1335 one for the search" (thanks @clorith).

Change History (2)

#1 @Otto42
4 years ago

I believe the error is coming from the new Event('click'). From what I can find, IE (any version) doesn't support the Event constructor. Since we already have jQuery loaded, jQuery.Event('click') here should work.

#2 @Otto42
4 years ago

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

In 1444:

Use jQuery to create Event objects since IE doesn't support the Event constructor. Fixes #967.

Note: See TracTickets for help on using tickets.