| 110 | |
| 111 | <div class="misc-pub-section misc-pub-response-to"> |
| 112 | <?php |
| 113 | $permalink = get_permalink( $comment->comment_post_ID ); |
| 114 | if ( ! empty( $permalink ) ) { |
| 115 | _e( 'In response to' ); ?>: |
| 116 | <a href="<?php echo esc_url( $permalink ); ?>"><?php echo esc_html( get_the_title( $comment->comment_post_ID ) ); ?></a> |
| 117 | <?php |
| 118 | } |
| 119 | ?> |
| 120 | </div> |
| 121 | |
| 122 | <div class="misc-pub-section misc-pub-reply-to"> |
| 123 | <?php |
| 124 | $author = get_comment_author( $comment->comment_parent ); |
| 125 | if ( ! empty( $author ) ) { |
| 126 | _e( 'In reply to' ); ?>: |
| 127 | <a href="<?php echo esc_url( get_comment_link( $comment->comment_parent ) ); ?>"><?php echo esc_html( $author ); ?></a> |
| 128 | <?php |
| 129 | } |
| 130 | ?> |
| 131 | </div> |
| 132 | |