[wp-trac] [WordPress Trac] #9065: Can not store 0 (zero) in meta_value using update_usermeta() in user.php

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


#9065: Can not store 0 (zero) in meta_value using update_usermeta() in user.php
--------------------------+-------------------------------------------------
 Reporter:  stevejohnson  |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  reopened 
 Priority:  normal        |    Milestone:           
Component:  General       |      Version:  2.7      
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by jfarthing84):

  * priority:  lowest => normal
  * status:  closed => reopened
  * resolution:  invalid =>
  * severity:  trivial => normal


Comment:

 I believe this should be re-opened because, although the original poster's
 method as storing the value as an array may work, it creates unnecessary
 storage amounts storing a serialized array for one single '0'.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9065#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list