mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Use post_date (not post_modified) to check for unpublished posts when showing post listings in admin. fixes #4914
git-svn-id: https://develop.svn.wordpress.org/trunk@6041 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7f8b7c9859
commit
70b337fa9a
@ -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':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user