WordPress.org

Make WordPress Core

Changeset 3090


Ignore:
Timestamp:
11/15/2005 12:00:26 AM (16 years ago)
Author:
ryan
Message:

Fix [3074] commit so that draft->publish transitions up date the timestamp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-post.php

    r3074 r3090  
    386386        $post_cats = $post['post_category'];
    387387
    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 
    392388    // Drafts shouldn't be assigned a date unless explicitly done so by the user
    393389    if ( 'draft' == $post['post_status'] && empty($postarr['edit_date']) && empty($postarr['post_date']) &&
Note: See TracChangeset for help on using the changeset viewer.