Ticket #6738 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

Fix double-slashing of comments done by wp_filter_kses

Reported by: filosofo Assigned to: ryan
Priority: normal Milestone: 2.6
Component: General Version:
Severity: normal Keywords: wp_filter_kses prepare slash
Cc: filosofo

Description

wp_filter_kses adds slashes to comments. Strip them out before inserting or updating, and let the prepared queries handle it.

Attachments

fix_double_comment_slashing.diff (0.7 kB) - added by filosofo on 04/15/08 17:57:49.

Change History

04/15/08 17:57:49 changed by filosofo

  • attachment fix_double_comment_slashing.diff added.

04/15/08 18:05:11 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [7690]) Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738