[wp-trac] [WordPress Trac] #16979: Extra hooks needed in comment process
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 16 03:10:56 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 | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------------
Comment (by dd32):
Working through implementing some changes here.
It seems that none of the functions involved here are designed with error
handling in mind at all, Every function, be it processing or Inserting is
designed to die in event of error rather than to handle it and pass it to
a common error handler..
Returning an error code from wp_new_comment() appears to be out, this
function has been used in the wild (plugins) a fair bit without any error
handling being present unfortunately.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16979#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list