[wp-trac] [WordPress Trac] #16979: Extra hooks needed in comment process
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 17 04:39:36 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: has-patch dev-feedback |
------------------------------------+-----------------------------
Comment (by solarissmoke):
Perhaps we might add a `$return_wp_error` argument (defaults to false) to
the new functions you're proposing, offering the option to return an error
instead of wp_dying? That way plugins (as well as things like the xml-rpc
handler) could still use them to do the logic part, instead of having to
replicate them.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16979#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list