[wp-hackers] usermeta

Scott Merrill skippy at skippy.net
Wed Nov 30 04:47:07 GMT 2005


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.

-- 
skippy at skippy.net | http://skippy.net/

gpg --keyserver pgp.mit.edu --recv-keys 9CFA4B35
506C F8BB 17AE 8A05 0B49  3544 476A 7DEC 9CFA 4B35


More information about the wp-hackers mailing list