From fff82c168431de96f052d4f02eb0b22f73c60c2f Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sun, 16 Mar 2008 22:16:27 +0000 Subject: [PATCH] Update the allowed attributes for html list elements. Fixes #6253 props andy and lloydbudd. git-svn-id: https://develop.svn.wordpress.org/trunk@7337 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/kses.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 01a263d7a7..73690bc92b 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -270,9 +270,14 @@ if (!CUSTOM_TAGS) { 'tt' => array(), 'u' => array(), 'ul' => array ( - 'class' => array ()), + 'class' => array (), + 'style' => array (), + 'type' => array ()), 'ol' => array ( - 'class' => array ()), + 'class' => array (), + 'start' => array (), + 'style' => array (), + 'type' => array ()), 'var' => array ()); /** * Kses allowed HTML elements