KSES fixes.

git-svn-id: http://svn.automattic.com/wordpress/trunk@731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-01-07 01:28:30 +00:00
parent b51cf5412b
commit 119f72da24
2 changed files with 8 additions and 8 deletions

View File

@@ -1888,7 +1888,7 @@ function allowed_tags() {
foreach($allowedtags as $tag => $attributes) {
$allowed .= "<$tag";
if (0 < count($attributes)) {
foreach ($attributes as $attribute) {
foreach ($attributes as $attribute => $limits) {
$allowed .= " $attribute=\"\"";
}
}