[wp-hackers] Missing actions in wp-comments-post.php

Austin Matzko if.website at gmail.com
Mon Aug 28 15:15:40 GMT 2006


On 8/28/06, Justin Sheckler <sheckler at nytimes.com> wrote:
> Is there any compelling reason why I shouldn't just add extra
> do_action() calls for these cases and submit the patch back to Trac?  I
> have been trying to do everything through the plugin call exclusively,
> but in this case I don't think I can avoid patching core.  The
> conditions I'm trying to trap are a missing name/email address or an
> invalid email address.  Or is there some subtlety here that I'm missing?

I think the new wp_die function, which debuts in WordPress 2.1, should
take care of this.

http://trac.wordpress.org/browser/trunk/wp-comments-post.php


More information about the wp-hackers mailing list