[wp-hackers] usermeta

Ryan Boren ryan at boren.nu
Wed Nov 30 19:27:57 GMT 2005


On Tue, 2005-11-29 at 23:47 -0500, Scott Merrill wrote:
> I'm looking at the usermeta stuff.  Do I read this correctly at line
> 2133 in functions.php:
>         if ( '' == $meta_value )
>                 return false;
> 
> If the value is empty, don't update the value?  What if one _wants_ to
> place an empty value in there?
> 
> But the real point is that I don't see a delete_usermeta() function
> anywere.  Once I add in a meta value, how do I delete it?  I'm not
> opposed to making a SQL query myself, but it seems like an omission to
> require users to do this.

I added delete_usermeta().  Please test.

I'll look into the other issue.

Ryan



More information about the wp-hackers mailing list