From a89032ffe35d689d2e8af945f0ae9b1b21799cd2 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 19 Nov 2006 07:24:55 +0000 Subject: [PATCH] Show 'Unpublished' instead of epoch time for drafts. git-svn-id: https://develop.svn.wordpress.org/trunk@4491 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-functions.php | 2 +- wp-admin/edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 36edc16d44..d6afa3a921 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -779,7 +779,7 @@ function page_rows( $parent = 0, $level = 0, $pages = 0, $hierarchy = true ) { post_status ) _e( ' - Private' ); ?> - post_modified ); ?> + post_modified ) _e('Unpublished'); else echo mysql2date( 'Y-m-d g:i a', $post->post_modified ); ?> " . __( 'Edit' ) . ""; } ?> " . __( 'Delete' ) . ""; } ?> diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 2722aa2586..dffbf52f8c 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -177,7 +177,7 @@ foreach($posts_columns as $column_name=>$column_display_name) { case 'date': ?> - g:i:s a'); ?> + post_modified ) _e('Unpublished'); else the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?>