From 9ba319330961406e16e3d7ea813b9f35310c0b17 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 15 Nov 2005 00:00:26 +0000 Subject: [PATCH] Fix [3074] commit so that draft->publish transitions up date the timestamp. git-svn-id: http://svn.automattic.com/wordpress/trunk@3090 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions-post.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-includes/functions-post.php b/wp-includes/functions-post.php index 9134244aa7..14c8f8606a 100644 --- a/wp-includes/functions-post.php +++ b/wp-includes/functions-post.php @@ -385,10 +385,6 @@ function wp_update_post($postarr = array()) { else $post_cats = $post['post_category']; - // Merge old and new fields with new fields overwriting old ones. - $postarr = array_merge($post, $postarr); - $postarr['post_category'] = $post_cats; - // Drafts shouldn't be assigned a date unless explicitly done so by the user if ( 'draft' == $post['post_status'] && empty($postarr['edit_date']) && empty($postarr['post_date']) && ('0000-00-00 00:00:00' == $post['post_date']) )