Use post_date (not post_modified) to check for unpublished posts when showing post listings in admin. fixes #4914

git-svn-id: http://svn.automattic.com/wordpress/trunk@6041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-09-05 22:17:59 +00:00
parent c5d33cbebd
commit bdd9e5e1e4
1 changed files with 1 additions and 1 deletions

View File

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