[wp-trac] [WordPress Trac] #16979: Extra hooks needed in comment process

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 27 06:06:54 UTC 2011

#16979: Extra hooks needed in comment process
 Reporter:  dd32         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Comments     |    Version:
 Severity:  normal       |   Keywords:  needs-patch
 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

Ticket URL: <http://core.trac.wordpress.org/ticket/16979>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list