Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2851 closed defect (bug) (fixed)

Deleting link with apostrophe in title doesn't work

Reported by: disaster77's profile disaster77 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.3
Component: Administration Keywords:
Focuses: Cc:

Description

Deleting a link with an apostrophe in the title produces a JavaScript error since the apostrophe is not escaped. The link can not be deleted until the title is changed to not have the apostrophe.

Error: missing ) after argument list
Source Code:
return deleteSomething( 'link', 51 , 'You are about to delete the "Roy's Photo Gallery" bookmark to http://.\n"Cancel" to stop, "OK" to delete.' );

Change History (5)

#1 @disaster77
19 years ago

  • Version set to 2.0.3

#2 @ryan
19 years ago

  • Milestone set to 2.0.4

#3 @ryan
19 years ago

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

(In [3906]) js_escape() in onclicks. fixes #2851

#4 @ryan
19 years ago

(In [3907]) js_escape() in onclicks. fixes #2851

#5 @(none)
18 years ago

  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.