Changeset 15917
- Timestamp:
- 10/22/2010 07:18:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/meta.php
r15590 r15917 53 53 $_meta_value = $meta_value; 54 54 $meta_value = maybe_serialize( stripslashes_deep($meta_value) ); 55 56 do_action( "add_{$meta_type}_meta", $object_id, $meta_key, $_meta_value ); 55 57 56 58 $wpdb->insert( $table, array( … … 191 193 return false; 192 194 195 do_action( "delete_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $meta_value ); 196 193 197 $query = "DELETE FROM $table WHERE $id_column IN( " . implode( ',', $meta_ids ) . " )"; 194 198
Note: See TracChangeset
for help on using the changeset viewer.