[wp-trac] [WordPress Trac] #10632: update_usermeta should allow blank values

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 16 20:51:33 UTC 2009


#10632: update_usermeta should allow blank values
--------------------------+-------------------------------------------------
 Reporter:  jfarthing84   |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  Unassigned 
Component:  General       |     Version:  2.8.4      
 Severity:  normal        |    Keywords:  2nd-opinion
--------------------------+-------------------------------------------------
 I think it would be better if update_usermeta was allowed to insert '0' or
 blank values, instead of deleting them. First of all, if I wanted to
 delete the value, I would have called delete_usermeta. Second of all,
 update_post_meta allows it, so why not update_usermeta?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10632>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list