Show 'Unpublished' instead of epoch time for drafts.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-11-19 07:24:55 +00:00
parent 2390613e37
commit f13014d8a5
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':