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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user