mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-01 00:27:38 +02:00
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:
parent
c5d33cbebd
commit
bdd9e5e1e4
@ -38,7 +38,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
|||||||
break;
|
break;
|
||||||
case 'date':
|
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
|
<?php
|
||||||
break;
|
break;
|
||||||
case 'title':
|
case 'title':
|
||||||
|
Loading…
Reference in New Issue
Block a user