Changeset 12054
- Timestamp:
- 10/18/2009 01:58:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r12047 r12054 2710 2710 /** @todo Delete for pluggable post taxonomies too */ 2711 2711 wp_delete_object_term_relationships($post_id, array('category', 'post_tag')); 2712 2713 $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->postmeta WHERE meta_key = '_thumbnail_id' AND meta_value = %d", $post_id )); 2712 2714 2713 2715 $commentids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = %d", $post_id ));
Note: See TracChangeset
for help on using the changeset viewer.