WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9664 closed defect (bug) (invalid)

'Edit Comment' screen displays tags that are not allowed by KSES

Reported by: yoavf Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Comments Keywords: comments
Focuses: Cc:

Description

The 'Edit Comment' screen allows you to insert tags such as OL, LI etc... these tags get stripped by KSES.

Option 1:
WP should not display buttons for tags not allowed on comments.

Option 2:
The admin should be allowed to add HTML to comments - therefore it might be better to remove kses filtering from edited comments.

Change History (1)

comment:1 Denis-de-Bernardy5 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

Mmm, actually, they're allowed. If you edit the comment and insert ol, li, blockquote, etc., those will work.

Note: See TracTickets for help on using tickets.