Make WordPress Core


Ignore:
Timestamp:
01/16/2015 04:06:47 PM (9 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/kses.php

    r31168 r31205  
    442442            'cite' => true,
    443443        ),
     444        's' => array(),
    444445        'strike' => array(),
    445446        'strong' => array(),
Note: See TracChangeset for help on using the changeset viewer.