From 18dbceee8cc37230b9a943bbfa82fa13138d19e0 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 16 Jan 2015 16:06:47 +0000 Subject: [PATCH] Add `` to `$allowedtags` in KSES. From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s : "The element, alter ego of the element is obsolete and should not be used on Web sites any more." `` shall remain for BC, but `` should not be stripped from the author (et al) role's HTML input. Props paulschreiber. Fixes #30954. git-svn-id: https://develop.svn.wordpress.org/trunk@31205 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/kses.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 69d897efc1..ba96b089e5 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -441,6 +441,7 @@ if ( ! CUSTOM_TAGS ) { 'q' => array( 'cite' => true, ), + 's' => array(), 'strike' => array(), 'strong' => array(), );