+<tr>
+ <th scope="row"><?php /* translators: column name or table row header */ _e( 'In Response To' ); ?></th>
+ <td>
+ <?php
+ $post_id = $comment->comment_post_ID;
+ if ( current_user_can( 'edit_post', $post_id ) ) {
+ $post_link = "<a href='" . esc_url( get_edit_post_link( $post_id ) ) . "'>";
+ $post_link .= esc_html( get_the_title( $post_id ) ) . '</a>';
+ } else {
+ $post_link = esc_html( get_the_title( $post_id ) );
+ }
+ echo $post_link;
+
+ if ( $comment->comment_parent ) {
+ $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 <a href="%1$s">%2$s</a>.' ), $parent_link, $name );
+ }
+ ?>
+ </td>
+</tr>
+<tr>
+ <th scope="row"><?php _e( 'Submitted on' ); ?></th>
+ <td>
+ <?php
+ /* translators: 2: comment date, 3: comment time */
+ printf( __( '<a href="%1$s">%2$s at %3$s</a>' ),
+ esc_url( get_comment_link( $comment->comment_ID ) ),
+ /* translators: comment date format. See http://php.net/date */
+ get_comment_date( __( 'Y/m/d' ) ),
+ get_comment_date( get_option( 'time_format' ) )
+ );
+ ?>
+ </td>
+</tr>