From 7039083a8943b46f52310a347e8a138490769683 Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@7337 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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