mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -128,7 +128,7 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
|
||||
} else {
|
||||
$t_time = get_the_time(__('Y/m/d g:i:s A'));
|
||||
$m_time = $post->post_date;
|
||||
$time = get_post_time( 'G', true );
|
||||
$time = get_post_time( 'G', true, $post );
|
||||
if ( ( abs($t_diff = time() - $time) ) < 86400 ) {
|
||||
if ( $t_diff < 0 )
|
||||
$h_time = sprintf( __('%s from now'), human_time_diff( $time ) );
|
||||
|
||||
Reference in New Issue
Block a user