Show 'Unpublished' instead of epoch time for drafts.

git-svn-id: https://develop.svn.wordpress.org/trunk@4491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-11-19 07:24:55 +00:00
parent 57ac4aeef6
commit a89032ffe3
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
case 'date':
?>
<td><?php the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td>
<td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td>
<?php
break;
case 'title':