[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:59:58 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:     
--------------------------+-------------------------------------------------

Comment(by mdawaffe):

 delete_metadata calls the following hook:

 deleted_{$meta_type}_meta: $object_id, $meta_key, $meta_value, $meta_ids

 I suggest all the metadata hooks use that order (object_id, key, value,
 meta_id).

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


More information about the wp-trac mailing list