Comment/pingback handlers don't check whether the post type supports comments
|Reported by:||solarissmoke||Owned by:|
wp-comments-post and XML-RPC don't check post type support for comments before accepting them - I think they should. We can't rely solely on $post->comment_status because that may not always be set to "closed" even if the post type doesn't support comments (see also #13473)
Maybe we could add a check to comments_open()?