diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 8157836cd1..80cffd8dd6 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -128,14 +128,19 @@ addLoadEvent(focusit); post_status ) +if ( 'future' == $post->post_status ) { $time = __('Scheduled for:
%1$s at %2$s'); -else if ( 'publish' == $post->post_status ) + $date = $post->post_date; +} else if ( 'publish' == $post->post_status ) { $time = __('Published on:
%1$s at %2$s'); -else + $date = $post->post_date; +} else { $time = __('Saved on:
%1$s at %2$s'); + $date = $post->post_modified; +} + ?> -

post_date), mysql2date(get_option('time_format'), $post->post_date)); ?> +

diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index cada0c0f89..64612344cb 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -93,14 +93,19 @@ addLoadEvent(focusit); post_status ) +if ( 'future' == $post->post_status ) { $time = __('Scheduled for:
%1$s at %2$s'); -else if ( 'publish' == $post->post_status ) + $date = $post->post_date; +} else if ( 'publish' == $post->post_status ) { $time = __('Published on:
%1$s at %2$s'); -else + $date = $post->post_date; +} else { $time = __('Saved on:
%1$s at %2$s'); + $date = $post->post_modified; +} + ?> -

post_date), mysql2date(get_option('time_format'), $post->post_date)); ?> +