Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#18133 closed enhancement (duplicate)

Allow rel="" attribute for links to get through KSES for HTML textareas etc

Reported by: beaulebens Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.2.1
Component: General Keywords: has-patch
Focuses: Cc:


Currently, attributes like rel="me" are stripped from things like comments and the description/About Me field in WP due to the $allowedtags var in KSES. Since this is a pretty common/innocent attribute, we should allow it by default. Patch attached.

Attachments (1)

kses-allow-rel.diff (406 bytes) - added by beaulebens 4 years ago.

Download all attachments as: .zip

Change History (3)

@beaulebens4 years ago

comment:1 @westi4 years ago

  • Keywords 3.3-early westi-likes commit added
  • Milestone changed from Awaiting Review to Future Release

I agree, we already allow rel in post content so it seems like allowing it in comments etc shouldn't be an issue.

comment:2 @nacin4 years ago

  • Keywords 3.3-early westi-likes commit removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.