WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/23/2008 08:25:08 PM (12 years ago)
Author:
westi
Message:

Fix the updated times when publishing/editing with APP. See #5680 props rubys.

File:
1 edited

Legend:

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

    r6643 r6645  
    18841884        $post_date_gmt = current_time('mysql', 1);
    18851885
     1886    if ( empty($post_modified) )
     1887                $post_modified = $post_date;
     1888    if ( empty($post_modified_gmt) )
     1889                $post_modified_gmt = $post_date_gmt;
     1890
    18861891    if ( empty($comment_status) ) {
    18871892        if ( $update )
Note: See TracChangeset for help on using the changeset viewer.