Add relative date to dashboard
git-svn-id: https://develop.svn.wordpress.org/trunk@2028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
df201019ca
commit
a31de8d099
@ -97,7 +97,7 @@ if ( $rss ) {
|
||||
$rss->items = array_slice($rss->items, 0, 4);
|
||||
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> — <?php echo human_time_diff( strtotime($item['pubdate'], time() ) ); ?> <?php _e('ago'); ?></h4>
|
||||
<p><?php echo $item['description']; ?></p>
|
||||
<?php
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user