From 08374eeaf94d7391954a20fcf9575addd7dbf9cb Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 17 Sep 2009 21:06:41 +0000 Subject: [PATCH] Remove temporary transition code from the trash_meta option to postmeta transition See #4529. git-svn-id: http://svn.automattic.com/wordpress/trunk@11947 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index b2fe6968c..2d08ed11d 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1173,8 +1173,6 @@ function wp_untrash_post($post_id = 0) { do_action('untrash_post', $post_id); $post_status = get_post_meta($post_id, '_wp_trash_meta_status', true); - if ( empty($post_status) ) - $post_status = ('attachment' == $post['post_type'] ) ? 'inherit' : 'draft'; $post['post_status'] = $post_status;