コメント欄のHTMLを無効にする

/**
 *  コメント欄のHTMLを無効にする 
 */
add_filter( 'comment_text',     'escape_tags', 9);
add_filter( 'comment_text_rss', 'escape_tags', 9);
add_filter( 'comment_excerpt',  'escape_tags', 9);
function escape_tags( $comment_content ) {
    if ( get_comment_type() == 'comment' ) {
        $comment_content = htmlspecialchars($comment_content, ENT_QUOTES);
    }
    return $comment_content;
}