Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 12 months ago

#2768 closed defect (bug) (duplicate)

quotation marks are double escaped when editing a comment

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

Description

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
20 years ago

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

#3 @arnee
20 years ago

  • Resolution → duplicate
  • Status new → closed

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

#4 @mdawaffe
20 years ago

  • Milestone 2.0.3 → 2.1

#5 @Nazgul
19 years ago

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