wp_insert_user in WP 3.0
-
I’ve noticed that wp_insert_user uses email_exists to block registration of users that have the same e-mail address as other users.
This is causing one of my plugins (Simple LDAP Login) to fail on user creation in many instances. Particularly if the user I’m creating from LDAP doesn’t have an e-mail address in LDAP.
It seems that a blank e-mail address is returned as already existing by email_exists with a default installation.
Since I don’t want to just make up an e-mail address for the sake of uniqueness, I need another solution. Has anyone else seen issues with this new function version?
Does anyone have any ideas for avoiding this error?
Thanks,
Clif
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘wp_insert_user in WP 3.0’ is closed to new replies.