Hello,
I do not want the “username” field in the registration form of my site and therefore I have disabled it, this causes a problem of sending email during registration without completing the procedure.
I have enabled WP_DEBUG and inserted a new control in the plugin core file and I solved the problem: the value that manages the “username” field was not checked.
This is the added code:
file: /wp-content/plugins/userswp/includes/class-forms.php
after line 322:
if (! isset ($ result [‘uwp_account_username’]) || empty ($ result [‘uwp_account_username’])) {
$ result [‘uwp_account_username’] = $ result [‘uwp_account_email’];
}
I preferred to map username with e-mails to have fewer user name problems.
I send you my code to submit it for your approval to include it in future releases of the plugin.
I am waiting for your reply.
Thank you