Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#2768 closed defect (bug) (duplicate)

quotation marks are double escaped when editing a comment

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


Happens since 2.0.3 (since nonces were introduced)

  1. Create a comment
  2. Got to Manage -> Comments
  3. Click "Edit comment"
  4. Edit something in the text and use quotation marks (" or ')
  5. Click Save
  6. You will be saked if you really want to do this? Missing nonce?
  7. Click Yes
  8. Check your blog or go back to Manage -> Comments
  9. All quotation marks are escaped with backslash (\)

Linux, Apache, PHP 4.2.2, php.ini:

  • magic_quotes_gpc On
  • magic_quotes_runtime Off
  • magic_quotes_sybase Off

There is no way to edit the comment without that these backslashes appear.

Change History (5)

#1 @arnee
18 years ago

Why does the WikiFormatting not work? My ticket should have lists and linebreaks...

#3 @arnee
18 years ago

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

Thanks, your patch fixed the problem. Too bad 2.0.3 is already out.

#4 @mdawaffe
18 years ago

  • Milestone changed from 2.0.3 to 2.1

#5 @Nazgul
17 years ago

  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.