Make WordPress Core

Changeset 9044


Ignore:
Timestamp:
09/30/2008 11:02:49 PM (16 years ago)
Author:
ryan
Message:

Show Publish Immediately instead of dave time for drafts. fixes #7806

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r9032 r9044  
    133133    } else if ( 'publish' == $post->post_status ) { // already published
    134134        $stamp = __('Published on: %1$s at %2$s');
    135     } else if ( '0000-00-00 00:00:00' == $post->post_date ) { // draft, 1 or more saves, no date specified
     135    } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
    136136        $stamp = __('Publish immediately');
    137137    } else { // draft, 1 or more saves, date specified
  • trunk/wp-admin/edit-page-form.php

    r9032 r9044  
    119119    } else if ( 'publish' == $post->post_status ) { // already published
    120120        $stamp = __('Published on: %1$s at %2$s');
    121     } else if ( '0000-00-00 00:00:00' == $post->post_date ) { // draft, 1 or more saves, no date specified
     121    } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
    122122        $stamp = __('Publish immediately');
    123123    } else { // draft, 1 or more saves, date specified
Note: See TracChangeset for help on using the changeset viewer.