Changeset 3090
- Timestamp:
- 11/15/05 00:00:26 (3 years ago)
- Files:
-
- trunk/wp-includes/functions-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions-post.php
r3074 r3090 386 386 $post_cats = $post['post_category']; 387 387 388 // Merge old and new fields with new fields overwriting old ones.389 $postarr = array_merge($post, $postarr);390 $postarr['post_category'] = $post_cats;391 392 388 // Drafts shouldn't be assigned a date unless explicitly done so by the user 393 389 if ( 'draft' == $post['post_status'] && empty($postarr['edit_date']) && empty($postarr['post_date']) &&
