[wp-hackers] Blank comments, redirect instead of error page
pete at jointforcestech.com
Fri Nov 13 02:36:59 UTC 2009
Use the preprocess_comment filter... add_filter('preprocess_comment',
On Thu, Nov 12, 2009 at 6:31 PM, Alex Hempton-Smith <
hempsworth at googlemail.com> wrote:
> 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,
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers