Changeset 11947 for trunk/wp-includes/post.php
- Timestamp:
- 09/17/2009 09:06:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r11943 r11947 1174 1174 1175 1175 $post_status = get_post_meta($post_id, '_wp_trash_meta_status', true); 1176 if ( empty($post_status) )1177 $post_status = ('attachment' == $post['post_type'] ) ? 'inherit' : 'draft';1178 1176 1179 1177 $post['post_status'] = $post_status;
Note: See TracChangeset
for help on using the changeset viewer.