WordPress.org

Make WordPress Core

Changeset 24346


Ignore:
Timestamp:
05/24/2013 04:50:50 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Remove unused variable. props zeo. fixes #24412.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-comments-list-table.php

    r24207 r24346  
    337337        $the_comment_status = wp_get_comment_status( $comment->comment_ID );
    338338
    339         $ptime = date( 'G', strtotime( $comment->comment_date ) );
    340         if ( ( abs( time() - $ptime ) ) < DAY_IN_SECONDS )
    341             $ptime = sprintf( __( '%s ago' ), human_time_diff( $ptime ) );
    342         else
    343             $ptime = mysql2date( __( 'Y/m/d \a\t g:i A' ), $comment->comment_date );
    344 
    345339        if ( $user_can ) {
    346340            $del_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "delete-comment_$comment->comment_ID" ) );
Note: See TracChangeset for help on using the changeset viewer.