Changeset 4602
- Timestamp:
- 12/04/06 14:31:09 (2 years ago)
- Files:
-
- branches/2.0/wp-includes/functions-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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");
