The first anonymous comment goes through just fine, but if a guest tries to leave a second comment, it returns an "email address is invalid" error. The workaround is to put in a bogus email address, but I would like to avoid that.
The email field is NOT set to required on the form, and I have no other comment plugins installed.
This problem showed up after upgrading from wpdiscuz 5.0.4 to 5.0.7
Any ideas?
Here's the site it's running on, you can test comments on this post: https://wtfflorida.com/news/crime/floridian-woman-wrestles-ak-47-from-home-invaders/
Also has the same symptoms on a dev install with every other plugin turned off, and basic theme:
https://dev.wtfflorida.com/news/loaded-grenade-launcher-donated-goodwill/
Guessing it has something to do with the public function frontFormHtml() located at:
wpdiscuz/forms/wpdFormsAttr/Field/DefaultField/Email.php
This line was added:
$authorEmail = $this->commenter && is_array($this->commenter) && isset($this->commenter['comment_author_email']) ? urldecode($this->commenter['comment_author_email']) : '';
and this:
<?php $required = $args['required'] ? 'required="required"' : ''; ?>
I might roll back to version 5.0.4 on the main site, so if you would be so kind to take a look at the issue, please check the dev site running 5.0.7: https://dev.wtfflorida.com/news/loaded-grenade-launcher-donated-goodwill/
Please also let me know if this is an issue on other sites, or just mine. Thanks.
Hi wtfflorida,
Thank you for letting us know, we'll check it and back to you asap.
Hi @wtfflorida,
We've already fixed this issue, please wait for the next update, it's coming very soon.
OK, thank you! This plugin is amazing, I appreciate you all providing it for free.