Remove unused variable. props zeo. fixes #24412.
git-svn-id: https://develop.svn.wordpress.org/trunk@24346 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8a30181896
commit
71bb15b4c9
|
@ -336,12 +336,6 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||
$comment_url = esc_url( get_comment_link( $comment->comment_ID ) );
|
||||
$the_comment_status = wp_get_comment_status( $comment->comment_ID );
|
||||
|
||||
$ptime = date( 'G', strtotime( $comment->comment_date ) );
|
||||
if ( ( abs( time() - $ptime ) ) < DAY_IN_SECONDS )
|
||||
$ptime = sprintf( __( '%s ago' ), human_time_diff( $ptime ) );
|
||||
else
|
||||
$ptime = mysql2date( __( 'Y/m/d \a\t g:i A' ), $comment->comment_date );
|
||||
|
||||
if ( $user_can ) {
|
||||
$del_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "delete-comment_$comment->comment_ID" ) );
|
||||
$approve_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "approve-comment_$comment->comment_ID" ) );
|
||||
|
|
Loading…
Reference in New Issue