[wp-trac] [WordPress Trac] #10837: Add *_user_meta() functions

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 27 12:49:31 UTC 2009


#10837: Add *_user_meta() functions
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  3.0            
Component:  General      |     Version:                 
 Severity:  normal       |    Keywords:  has-patch early
-------------------------+--------------------------------------------------

Comment(by arena):

 Hi all,

 just to let you know,

 current code to access usermeta data has the metakey value changed by the
 following code :

 {{{
 $meta_key = preg_replace('|[^a-z0-9_]|i', '', $meta_key);
 }}}

 so meta_key such as 'manage-edit-comments-columns-hidden'

 is stored as 'manageeditcommentscolumnshidden'

 * i believe this is why usermeta has not been changes in 2.9 .

 * patch should still change metakey value for compatibility with existing
 datas.

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


More information about the wp-trac mailing list