Make WordPress Core


Ignore:
Timestamp:
10/14/2008 04:56:32 PM (15 years ago)
Author:
ryan
Message:

Show Published/Last Modified in date column

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9162 r9167  
    12501250            else
    12511251                echo '<abbr title="' . $t_time . '">' . apply_filters('post_date_column_time', $h_time, $post, $column_name, $mode) . '</abbr>';
    1252 
     1252            echo '<br />';
     1253            if ( 'publish' == $post->post_status || 'future' == $post->post_status )
     1254                _e('Published');
     1255            else
     1256                _e('Last Modified');
    12531257            echo '</td>';
    12541258        break;
     
    14321436            }
    14331437        }
    1434         ?>
    1435         <td <?php echo $attributes ?>><abbr title="<?php echo $t_time ?>"><?php echo $h_time ?></abbr></td>
    1436         <?php
     1438        echo '<td ' . $attributes . '>';
     1439        echo '<abbr title="' . $t_time . '">' . apply_filters('post_date_column_time', $h_time, $page, $column_name, $mode) . '</abbr>';
     1440        echo '<br />';
     1441        if ( 'publish' == $page->post_status || 'future' == $page->post_status )
     1442            _e('Published');
     1443        else
     1444            _e('Last Modified');
     1445        echo '</td>';
    14371446        break;
    14381447    case 'title':
Note: See TracChangeset for help on using the changeset viewer.