Alternative to wp_die() on comment forms?
-
Hi –
This may be the wrong forum to post this, but I’ll give it a shot; hopefully a mod wil move it if its in the wrong place. ??
I’m in process in working on a custom comment form for my site, and was wondering if there might be a “cleaner” alternative to using
wp_die();
when the comment form contains errors (missing name or email, or blank comment).I only ask, because it seems odd that WordPress redirects the user to a completely different page, kills everything, and shows them the error with no way back to fix their comment, forcing them to use the back button, and hope their browser saved their progress.
Any alternatives?
Thanks!
– Noel
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Alternative to wp_die() on comment forms?’ is closed to new replies.