Changeset 11841 for trunk/wp-includes/post.php
- Timestamp:
- 08/19/2009 08:35:24 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r11756 r11841 1265 1265 do_action('untrash_post', $postid); 1266 1266 1267 $post['post_status'] = 'draft';1267 $post['post_status'] = ($post->post_type == 'attachment') ? 'inherit' : 'draft'; 1268 1268 1269 1269 $trash_meta = get_option('wp_trash_meta');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)