Well…anybody?
{offtopic: Seems like it’s getting harder and harder to actually get some help around these forums.}
I suppose an effort should be made to ensure that the entered email address does fall into the right format, but commenters need only enter their real email addresses if they wish you to contact them off the blog. You could just as easily respond to their comments on the blog and leave it at that.
It might be even better just to remove the requirement for an actual email address.
Forums are monitored largely by volunteers who provide assistance to others, the level of help raises and falls as people get busy with their lives..
Regards
Wow I CANNOT believe this isn’t in WP as standard….
I’d be willing to bet that if it was done correctly and a patch was submitted to the developers, they’d add it in.
I just found a function already in WP.
function is_email($user_email)
I’ve submitted a bug and patch to that checks to make sure the email address entered is valid. If you are interested and would like to apply the changes, there is a diff file attached to the bug report.
http://mosquito.wordpress.org/view.php?id=982
Hello,
I just added the patch listed above (http://mosquito.wordpress.org/view.php?id=982) to wp-comments-post.php, but when I test the comments form and use a bogus email the comment still goes through. I’m wondering if I added the wrong bit of code? I added all the + parts, minus the +’s.
Any help would be great. Thank you for your time.
I would like to eliminate the requirement for making people enter in an email address in order to post a comment.
I think people are suspisious about doing so and seems to limit commenting on one of my sites. Is there a way to remove it as a requirement to post a comment?
Sure – hack the core code. Or alternatively, simply uncheck the box in options next to “user must provide email” or whatever it is. [Checked: actually it’s “Comment author must fill out name and e-mail”….]
vkaryl –
Gee that seems so obvious. LOL I missed that page of options.
Thanks!