From c154aed908559b616818165e572a4b09c8911ac2 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 17 Sep 2012 02:12:09 +0000 Subject: [PATCH] Remove unused $t_time variable. props ocean90. fixes #18531. git-svn-id: https://develop.svn.wordpress.org/trunk@21880 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-media-list-table.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php index a74a3ad501..77fdda040b 100644 --- a/wp-admin/includes/class-wp-media-list-table.php +++ b/wp-admin/includes/class-wp-media-list-table.php @@ -275,9 +275,8 @@ foreach ( $columns as $column_name => $column_display_name ) { case 'date': if ( '0000-00-00 00:00:00' == $post->post_date ) { - $t_time = $h_time = __( 'Unpublished' ); + $h_time = __( 'Unpublished' ); } else { - $t_time = get_the_time( __( 'Y/m/d g:i:s A' ) ); $m_time = $post->post_date; $time = get_post_time( 'G', true, $post, false ); if ( ( abs( $t_diff = time() - $time ) ) < 86400 ) {