Get user by email
|Reported by:||juanramondiaz||Owned by:||somebody|
There was a function to get a user by login. I was creating a script to add new users (so I don't need a Wordpress installation to handle users) and I wanted to know if there was already a user with an specific e-mail.
I've done the unit test too. I attach the patch.