[wp-trac] [WordPress Trac] #11125: added_{$meta_type}_meta, and update_{$meta_type}_meta actions have inconsistent arguments

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 11 23:57:55 UTC 2009


#11125: added_{$meta_type}_meta, and update_{$meta_type}_meta actions have
inconsistent arguments
--------------------------+-------------------------------------------------
 Reporter:  mdawaffe      |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  General       |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 added_{$meta_type}_meta: $wpdb->insert_id, $object_id, $meta_key,
 $meta_value

 update_{$meta_type}_meta: $object_id, $meta_key, $meta_value, $meta_id

 In the former, $meta_id is first.  In the later, $meta_id is last.

 They should have the same argument order.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11125>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list