WordPress.org

Make WordPress Core

Changeset 3089


Ignore:
Timestamp:
11/14/2005 11:28:10 PM (16 years ago)
Author:
matt
Message:

Mystery of the disappearing post solved, fixes #1879

File:
1 edited

Legend:

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

    r3080 r3089  
    619619                }
    620620            } else {
    621                 if (mysql2date('U', $this->posts[0]->post_date) > mysql2date('U', $now)) { //it's future dated
     621                if (mysql2date('U', $this->posts[0]->post_date_gmt) > mysql2date('U', $now)) { //it's future dated
    622622                    $this->is_preview = true;
    623623                    if (!current_user_can('edit_post', $this->posts[0]->ID)) {
Note: See TracChangeset for help on using the changeset viewer.