I am using wp_insert_comment to offer an in-house better ajax conditional comments interface. i got it all working great. my only question is.
What security measures should i take to make sure i leave security holes?
the comments are submitted via ajax and so in the php file reciveing the data i use $_POST to collect data. How would you treat those inputs so make it bullet proof as possible and
I know how to secure forms so i am basicly asking:
Does wp_insert_comment run (After submission) trough any other built in wordpress functions?