Changeset 4601
- Timestamp:
- 12/04/06 14:25:21 (2 years ago)
- Files:
-
- trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/post.php
r4561 r4601 410 410 if ( 'page' == $post->post_type ) 411 411 $wpdb->query("UPDATE $wpdb->posts SET post_parent = $post->post_parent WHERE post_parent = $postid AND post_type = 'page'"); 412 413 $wpdb->query("UPDATE $wpdb->posts SET post_parent = $post->post_parent WHERE post_parent = $postid AND post_type = 'attachment'"); 412 414 413 415 $wpdb->query("DELETE FROM $wpdb->posts WHERE ID = $postid");
