diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php index ab43f97b56..f5eb56103d 100644 --- a/src/wp-admin/comment.php +++ b/src/wp-admin/comment.php @@ -114,19 +114,17 @@ case 'spam' : ?>
comment_author; ?> | comment_author_url; ?> | +
+ | + comment_post_ID; + if ( current_user_can( 'edit_post', $post_id ) ) { + $post_link = ""; + $post_link .= esc_html( get_the_title( $post_id ) ) . ''; + } else { + $post_link = esc_html( get_the_title( $post_id ) ); + } + echo $post_link; + + if ( $comment->comment_parent ) { + $comment_url = esc_url( get_comment_link( $comment->comment_ID ) ); + $parent = get_comment( $comment->comment_parent ); + $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); + $name = get_comment_author( $parent->comment_ID ); + printf( ' | ' . __( 'In reply to %2$s.' ), $parent_link, $name ); + } + ?> + | +
+ | + %2$s at %3$s' ), $comment_url, + /* translators: comment date format. See http://php.net/date */ + get_comment_date( __( 'Y/m/d' ) ), + get_comment_date( get_option( 'time_format' ) ) + ); + ?> + | +
comment_content; ?> |