[wp-trac] [WordPress Trac] #47683: Enhancement: Add 'email_exists' filter similar to username_exists
WordPress Trac
noreply at wordpress.org
Thu Jul 11 12:44:07 UTC 2019
#47683: Enhancement: Add 'email_exists' filter similar to username_exists
-------------------------+-----------------------------
Reporter: mikelopez | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------------
Now that we're allowing login using email address I think we should also
add an `email_exists` filter similar to the existing `username_exists`
one.
Reason for this request is I'm creating a plugin that allows for a shared
user database across multiple WordPress installs hosted on different
servers.
Said plugin also allows creating new users on any of the site which then
syncs back the data to the shared user database. It is at this point that
I find the need of an `email_exists` filter. I can easily check if the
username exists by hooking into the `username_exists` filter but I can't
do the same for email addresses.
I see that a request has already been made in #35509 and it was denied but
I do hope my use case allows for it.
Thanks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47683>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list