``` function wpb_preprocess_comment($comment) { if ( strlen( $comment['comment_content'] ) > 5000 ) { wp_die('您的评论太长了,超出了本站最多 5000 字符的限制'); } if ( strlen( $comment['comment_content'] ) < 60 ) { wp_die('您的评论太短,本站要求评论至少 60 个字符'); } return $comment; } add_filter( 'preprocess_comment', 'wpb_preprocess_comment' ); ```