Changeset 7231
- Timestamp:
- 03/11/2008 07:28:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r7207 r7231 607 607 if ( strlen($author_url_display) > 50 ) 608 608 $author_url_display = substr($author_url_display, 0, 49) . '...'; 609 $ptime = get_post_time('G', true);609 $ptime = date('G', strtotime( $comment->comment_date ) ); 610 610 if ( ( abs(time() - $ptime) ) < 86400 ) 611 611 $ptime = sprintf( __('%s ago'), human_time_diff( $ptime ) ); 612 612 else 613 $ptime = mysql2date(__('Y/m/d \a\t g:i A'), $ post->post_date);613 $ptime = mysql2date(__('Y/m/d \a\t g:i A'), $comment->comment_date ); 614 614 615 615 $delete_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) );
Note: See TracChangeset
for help on using the changeset viewer.