Create User with an empty email address
-
Hello
First I want to say, thanks for that plugin that’s really useful.
It works great when you enforce users to have an email address. However wordpress allows to create user without a email using wp_create_user.What happens in that case is that the hack_pre_user_email filter is called with $email having the value ”. Then since ” is not an email adress the filter return null which isn’t a valid value for wp_create_user and causes the creation to fail.
For now, I’ll make a quick patch to make it work on my wordpress, but I bring this issue here in order to see if that case should be handled by the plugin and if yes in what way ?
Thanks for reading this,
Nelson
- The topic ‘Create User with an empty email address’ is closed to new replies.