Changeset 12173 for trunk/wp-includes/meta.php
- Timestamp:
- 11/12/2009 02:43:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/meta.php
r12042 r12173 71 71 } 72 72 73 do_action( "update_{$meta_type}_meta", $ object_id, $meta_key, $meta_value, $meta_id);73 do_action( "update_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $meta_value ); 74 74 75 75 $wpdb->update( $table, $data, $where ); 76 76 wp_cache_delete($object_id, $meta_type . '_meta'); 77 77 78 do_action( "updated_{$meta_type}_meta", $ object_id, $meta_key, $meta_value, $meta_id);78 do_action( "updated_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $meta_value ); 79 79 80 80 return true; … … 116 116 wp_cache_delete($object_id, $meta_type . '_meta'); 117 117 118 do_action( "deleted_{$meta_type}_meta", $ object_id, $meta_key, $meta_value, $meta_ids);118 do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $meta_value ); 119 119 120 120 return true;
Note: See TracChangeset
for help on using the changeset viewer.