WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#21825 closed enhancement (duplicate)

Allow more tags and attributes in kses

Reported by: ryan Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4.1
Component: Security Keywords: has-patch
Focuses: Cc:

Description

We're missing a few simple tags like small. And, we've had safecss_filter_attr() for some time now but never added style, class, or id as allowed attributes.

Attachments (2)

21825.diff (5.0 KB) - added by ryan 7 years ago.
21825.2.diff (5.1 KB) - added by ryan 7 years ago.
Refresh

Download all attachments as: .zip

Change History (6)

@ryan
7 years ago

@ryan
7 years ago

Refresh

#1 @scribu
7 years ago

  • Keywords has-patch added

Heh, there's a <var> tag already in there? Cool, I guess. :)

#3 @ryan
7 years ago

  • Summary changed from Allow more tags in attributes in kses to Allow more tags and attributes in kses

#4 @ryan
7 years ago

  • Milestone 3.5 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Oh let's just use #20210 for this.

Note: See TracTickets for help on using tickets.