Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#18133 closed enhancement (duplicate)

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

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

Description

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 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @westi
13 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.

#2 @nacin
13 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.