[wp-trac] [WordPress Trac] #11627: parts of metadata API fail on user metadata

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 26 06:01:20 UTC 2009


#11627: parts of metadata API fail on user metadata
--------------------------+-------------------------------------------------
 Reporter:  wnorris       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9.1    
Component:  General       |     Version:  2.9      
 Severity:  major         |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 Looks good, though I think we should spare the unnecessary function and
 just do {{{$id_column = 'user' == $meta_type ? 'umeta_id' : 'meta_id';}}}.

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


More information about the wp-trac mailing list