[wp-trac] Re: [WordPress Trac] #7540: allow multiple values for key in usermeta

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 17:14:14 GMT 2009


#7540: allow multiple values for key in usermeta
-------------------------+--------------------------------------------------
 Reporter:  wnorris      |       Owner:  anonymous      
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Future Release 
Component:  General      |     Version:  2.6.1          
 Severity:  normal       |    Keywords:  usermeta, users
-------------------------+--------------------------------------------------
Changes (by misterbisson):

  * keywords:  usermeta => usermeta, users


Comment:

 sojweb and I both tried solving this from different angles. I'm attaching
 a patch that basically adopts all the *_post_meta() functions for user
 meta and maintains backwards compatibility by calling the new
 *_user_meta() functions from within the old *_usermeta() functions.

 Why make such a large change? Because post meta and user meta are just too
 similar a concept to have them work so differently, or have code that
 works so differently.

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


More information about the wp-trac mailing list