[wp-hackers] Updating a User Record via PHP?

Mike Schinkel mikeschinkel at newclarity.net
Mon Feb 2 17:59:33 GMT 2009


Hi all: 

I'm running into trouble using wp_update_user() where it is adding new users instead of simply updating them. When I trace it I find that it calls wp_insert_user(). Does anyone here know anything about this? Does anyone know how to ensure that a request to update a user actually updates instead of inserting a duplicate (w/o simply reverting to SQL?) 

-Mike Schinkel 
http://mikeschinkel.com/ 


More information about the wp-hackers mailing list