Comment_allowed_tags fixup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1879,4 +1879,18 @@ function permalink_single_rss($file = '') {
|
||||
|
||||
/***** // Permalink tags *****/
|
||||
|
||||
?>
|
||||
function allowed_tags() {
|
||||
global $allowedtags;
|
||||
foreach($allowedtags as $tag => $attributes) {
|
||||
$allowed .= "<$tag";
|
||||
if (0 < count($attributes)) {
|
||||
foreach ($attributes as $attribute) {
|
||||
$allowed .= " $attribute=\"\"";
|
||||
}
|
||||
}
|
||||
$allowed .= "> ";
|
||||
}
|
||||
return htmlentities($allowed);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user