Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#18573 closed defect (bug) (fixed)

Missing HTML tag in kses.php

Reported by: pbarney Owned by: markjaquith
Priority: normal Milestone: 3.5
Component: Editor Version: 3.2.1
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

The HTML SMALL tag is noticeably missing from the core kses.php. I'd like to request that it be added.

Due to the innocuous nature of this tag, the fact that it is missing seems to be more of an oversight than a deliberate decision. Because the current functionality (stripping the tag) runs contrary to typical user expectations, I would call this a bug.

Attachments (1)

18573.patch​ (353 bytes ) - added by SergeyBiryukov 15 years ago.

Download all attachments as: .zip

Change History (9)

#1 @SergeyBiryukov
15 years ago

  • Keywords has-patch added

#2 @pbarney
15 years ago

Should it also be somewhere near line 430 as well?

#3 @SergeyBiryukov
15 years ago

I guess not, unless we want to allow it in comments as well. There's already a number of equally innocuous tags left out there, possibly on purpose.

I've blamed it back to [767], and the commit message just says "Tag cleanup".

#4 @pbarney
15 years ago

Thank you for the help! I'm new to Trac; what am I supposed to do to close this out?

#5 @SergeyBiryukov
15 years ago

Need to wait until the patch is reviewed by someone from the core team.

#6 @nacin
14 years ago

  • Keywords commit added
  • Milestone Awaiting Review → 3.5

#7 @jane
14 years ago

I would also like the <small> tag to be supported.

#8 @markjaquith
14 years ago

  • Owner set to markjaquith
  • Resolution → fixed
  • Status new → closed

In [21777]:

Add <small> to KSES, to hang out with its <big> brother. props SergeyBiryukov. fixes #18573

Note: See TracTickets for help on using tickets.