Changeset 4602
- Timestamp:
- 12/04/2006 02:31:09 PM (19 years ago)
- File:
-
- 1 edited
-
branches/2.0/wp-includes/functions-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions-post.php
r4533 r4602 552 552 if ( 'static' == $post->post_status ) 553 553 $wpdb->query("UPDATE $wpdb->posts SET post_parent = $post->post_parent WHERE post_parent = $postid AND post_status = 'static'"); 554 555 $wpdb->query("UPDATE $wpdb->posts SET post_parent = $post->post_parent WHERE post_parent = $postid AND post_status = 'attachment'"); 554 556 555 557 $wpdb->query("DELETE FROM $wpdb->posts WHERE ID = $postid");
Note: See TracChangeset
for help on using the changeset viewer.