From d03a237b245a45c3b5617044989f49460196115b Mon Sep 17 00:00:00 2001 From: rob1n Date: Wed, 2 May 2007 04:31:30 +0000 Subject: [PATCH] Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128 git-svn-id: https://develop.svn.wordpress.org/trunk@5375 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/kses.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index fe7aa38212..88e6d9077b 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -34,7 +34,9 @@ if (!CUSTOM_TAGS) { 'b' => array(), 'big' => array(), 'blockquote' => array( - 'cite' => array() + 'cite' => array(), + 'xml:lang' => array(), + 'lang' => array() ), 'br' => array(), 'button' => array( @@ -55,7 +57,9 @@ if (!CUSTOM_TAGS) { ), 'dd' => array(), 'div' => array( - 'align' => array() + 'align' => array(), + 'xml:lang' => array(), + 'lang' => array() ), 'dl' => array(), 'dt' => array(), @@ -113,7 +117,9 @@ if (!CUSTOM_TAGS) { ), 'li' => array(), 'p' => array( - 'align' => array() + 'align' => array(), + 'xml:lang' => array(), + 'lang' => array() ), 'pre' => array( 'width' => array()