[wp-trac] [WordPress Trac] #2659: Comment meta

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 3 18:53:33 UTC 2009


#2659: Comment meta
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  westi    
     Type:  task (blessed)  |      Status:  assigned 
 Priority:  normal          |   Milestone:  2.9      
Component:  Comments        |     Version:  2.1      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------

Comment(by filosofo):

 The API functions should be named {{{add_meta_data}}},
 {{{update_meta_data}}}, and {{{get_meta_data}}}, where the significant
 difference is that there is an underscore separating the key words.

 It seems like a small difference, but the vast majority of WordPress
 functions are of the form [word]_[word], except for a few exceptions (such
 as the user meta functions) which make things hard to remember.

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


More information about the wp-trac mailing list