WordPress.org

Make WordPress Core

Changeset 3458


Ignore:
Timestamp:
01/18/2006 07:30:28 PM (15 years ago)
Author:
ryan
Message:

Give draft posts a current timestamp. Props David House and technosailor. fixes #2164

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r3426 r3458  
    663663                        } else {
    664664                            $this->is_preview = true;
     665                            $this->posts[0]->post_date = current_time('mysql');
    665666                        }
    666667                    } else {
Note: See TracChangeset for help on using the changeset viewer.