[wp-hackers] Comment Form Hook

Mark Jaquith mark.wordpress at txfx.net
Mon Nov 15 12:17:17 UTC 2004


I doubt it would cause more trouble than caused by all the people who 
mess up their blog with improperly applied hacks...

I'd consider this hook, with its potential for spam-fighting, to be a 
bit above a tiny excruciating aspect.  The "comment_post" hook was moved 
in order to be more useful at fighting spam... this would just be 
another step in that direction.  Heck, all that needs to be added is 
<?php do_action('comment_post_form', '') // Do not delete this ?>, or it 
could be given a function that does that, just like wp_head()

Robert Deaton wrote:

>The only disadvantage to this is if it was to be commited, people
>would want such a hook for every tiny excruciating aspect of their
>WordPress install, and go flooding up the list with requests for it.
>It might sound like a good idea initially but will cause more trouble
>than its worth in the future.
>
>
>On Mon, 15 Nov 2004 05:20:59 -0500, Mark Jaquith
><mark.wordpress at txfx.net> wrote:
>  
>
>>I really think the comment form should have a function in it that
>>outputs stuff that has been added by plugins.  Many anti-spam methods
>>require adding hidden values to the comment form, like a
>>unique-to-each-post hash, to act as a type of secure referrer... if
>>there were a comment_form hook, these values could be added
>>automatically without having to edit the comment form.  Automatic is good!
>>
>>_______________________________________________
>>hackers mailing list
>>hackers at wordpress.org
>>http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>>
>>    
>>
>
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/hackers_wordpress.org/attachments/20041115/ba4c62af/attachment.htm


More information about the hackers mailing list