summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions-post.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-15 09:09:19 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-15 09:09:19 +0000
commitac41b79ab6266ccd35d1ebf747e4135d53d04035 (patch)
tree8d79034577abee52611d56c7e08445fdfd6d7eda /wp-inst/wp-includes/functions-post.php
parent19f55afaf36cf96e43234ea9655f5752cadfaab3 (diff)
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@435 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions-post.php')
-rw-r--r--wp-inst/wp-includes/functions-post.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/wp-inst/wp-includes/functions-post.php b/wp-inst/wp-includes/functions-post.php
index 9134244..14c8f86 100644
--- a/wp-inst/wp-includes/functions-post.php
+++ b/wp-inst/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']) )