[wp-trac] [WordPress Trac] #30954: Allow <s> tags in addition to <strike> in title

WordPress Trac noreply at wordpress.org
Fri Jan 16 16:06:49 UTC 2015

#30954: Allow <s> tags in addition to <strike> in title
 Reporter:  paulschreiber   |       Owner:  wonderboymusic
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.2
Component:  Formatting      |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch kses  |     Focuses:
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"31205"]:
 #!CommitTicketReference repository="" revision="31205"
 Add `<s>` to `$allowedtags` in KSES.

 From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s :
 "The <strike> element, alter ego of the <s> element is obsolete and should
 not be used on Web sites any more."

 `<strike>` shall remain for BC, but `<s>` should not be stripped from the
 author (et al) role's HTML input.

 Props paulschreiber.
 Fixes #30954.

Ticket URL: <https://core.trac.wordpress.org/ticket/30954#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list