Change action hook `pre_comment_on_post` to `preprocess_comment`.