﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
13088,update_usermeta() and update_user_meta() behave differently,mdawaffe,,"== Problem ==

The old function, update_usermeta(), deletes the meta row if the passed value is empty.

The new function, update_user_meta(), goes through the meta API function update_metadata(), which does not delete the meta row if the passed value is empty.

update_usermeta() is marked as deprecated, but, because of this difference, is not an alias of update_user_meta().  Instead, the function is fully defined in deprecated.php.

== Impact ==

update_user_option() used to go through update_usermeta() and now goes through update_user_meta(), so it's behavior has changed.


== Example ==


Multisite signups are wonky: source:/trunk/wp-includes/ms-functions.php@14190#L789

== Ideas ==

Switch update_user_option() back to update_usermeta().

Add delete_user_meta() logic to update_user_option().

Use delete_user_meta() where needed instead.",defect (bug),closed,normal,3.0,Users,3.0,major,fixed,meta,
