関数 allowed_tags()
2014/12/25
定義ファイル :/blog/wp-includes/general-template.php 4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | function allowed_tags() { global $allowedtags; $allowed = ''; foreach ( (array) $allowedtags as $tag => $attributes ) { $allowed .= '<'.$tag; if ( 0 < count($attributes) ) { foreach ( $attributes as $attribute => $limits ) { $allowed .= ' '.$attribute.'=""'; } } $allowed .= '> '; } return htmlentities($allowed); } |