Extra hooks needed in comment process
|Reported by:||dd32||Owned by:|
|Severity:||normal||Keywords:||has-patch dev-feedback needs-refresh|
I'm running into a few commenting issues whilst building a plugin with a custom post type..
- Duplicate comment check's cannot be bypassed
- Empty comments are not allowed (In this case, the comment body is empty whilst a set of custom fields acting as metadata are set, meaning, the plugin wants to accept that comment)
- being able to override the wp_die() in the commenting process would be useful (Currently: Duplicate comments, User not logged in, and not all fields filled in will cause this)
One potential solution would be to move lines 55-84 from wp-comments-post.php to functions hooked to preprocess_comment
Change History (11)
Note: See TracTickets for help on using tickets.