[wp-hackers] Blank comments, redirect instead of error page
Pete Mall
pete at jointforcestech.com
Fri Nov 13 02:36:59 UTC 2009
Use the preprocess_comment filter... add_filter('preprocess_comment',
'your_function')
On Thu, Nov 12, 2009 at 6:31 PM, Alex Hempton-Smith <
hempsworth at googlemail.com> wrote:
> Hi,
>
> When a user enters a blank comment, I would like to redirect them back to
> the post they were viewing instead of showing the "Error: please type a
> comment." page.
>
> How would I go about this?
>
> Many thanks,
> Alex
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list