mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
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:
@@ -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