Changeset 11946 for trunk/wp-includes/meta.php
- Timestamp:
- 09/17/2009 09:05:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/meta.php
r11943 r11946 71 71 } 72 72 73 do_action( "update_{$meta_type}_meta", $ meta_id, $object_id, $meta_key, $meta_value );73 do_action( "update_{$meta_type}_meta", $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", $ meta_id, $object_id, $meta_key, $meta_value );78 do_action( "updated_{$meta_type}_meta", $object_id, $meta_key, $meta_value ); 79 79 80 80 return true; … … 108 108 wp_cache_delete($object_id, $meta_type . '_meta'); 109 109 110 do_action( "deleted_{$meta_type}_meta", $ meta_id, $object_id, $meta_key, $meta_value );110 do_action( "deleted_{$meta_type}_meta", $object_id, $meta_key, $meta_value ); 111 111 112 112 return true;
Note: See TracChangeset
for help on using the changeset viewer.