Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#36156 closed defect (bug) (invalid)

redirect.js - Erroneous comma in object

Reported by: phillclark Owned by:
Priority: normal Milestone:
Component: General Version: 4.4.1
Severity: normal Keywords:
Cc: Focuses: javascript

Description

Within "redirect.js" there is an erroneous comma within the object on line 17 that causes an error in older IE browsers.

file_frame = wp.media.frames.file_frame = wp.media({
	title: jQuery( this ).data( 'uploader_title' ),
	button: {
		text: jQuery( this ).data( 'uploader_button_text' ),
	},
	multiple: false  
});

It is located at the end of the "text" object key row

Change History (5)

#1 @swissspidy
11 years ago

  • Focuses performance removed
  • Keywords reporter-feedback added

I'm either blind or I can't find this file. Where is it located? Are you sure it's part of WordPress and not a plugin/theme?

#2 @SergeyBiryukov
11 years ago

Hi @phillclark, welcome to Trac!

There's no redirect.js file in WordPress core. The code you've cited is not a part of any existing core file either.

#3 @phillclark
11 years ago

Apologies - yes, found out it was actually a plugin file but located incorrectly..... #mybad

#4 @phillclark
11 years ago

  • Resolution → invalid
  • Status new → closed

#5 @swissspidy
11 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.