Add relative date to dashboard

git-svn-id: http://svn.automattic.com/wordpress/trunk@2028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-01-01 22:15:58 +00:00
parent e5d942f411
commit 21f5e3f715
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ if ( $rss ) {
$rss->items = array_slice($rss->items, 0, 4); $rss->items = array_slice($rss->items, 0, 4);
foreach ($rss->items as $item ) { foreach ($rss->items as $item ) {
?> ?>
<h4><a href='<?php echo $item['link']; ?>'><?php echo wp_specialchars($item['title']); ?></a></h4> <h4><a href='<?php echo $item['link']; ?>'><?php echo wp_specialchars($item['title']); ?></a> &#8212; <?php echo human_time_diff( strtotime($item['pubdate'], time() ) ); ?> <?php _e('ago'); ?></h4>
<p><?php echo $item['description']; ?></p> <p><?php echo $item['description']; ?></p>
<?php <?php
} }