Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#3482 closed defect (bug) (fixed)

Double quoted CRs when using js_escape()

Reported by: donncha Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:


The new js_escape function escapes already escaped carriage returns in some strings. This patch fixes some of them.

Attachments (1)

patch.diff (4.6 KB) - added by donncha 11 years ago.

Download all attachments as: .zip

Change History (3)

11 years ago

#1 @link92
11 years ago

  • Keywords has-patch added

#2 @nbachiyski
11 years ago

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

Some of the occurrences were fixed in [4700], the other one I filed in #3539. I hope you don't mind closing this one, because contains some already fixed cases.

Note: See TracTickets for help on using tickets.