- Timestamp:
- 05/24/2013 04:50:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-comments-list-table.php
r24207 r24346 337 337 $the_comment_status = wp_get_comment_status( $comment->comment_ID ); 338 338 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 else343 $ptime = mysql2date( __( 'Y/m/d \a\t g:i A' ), $comment->comment_date );344 345 339 if ( $user_can ) { 346 340 $del_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "delete-comment_$comment->comment_ID" ) );
Note: See TracChangeset
for help on using the changeset viewer.