wp-admin/comment.php 1 location
|
@@ 181-190 (lines=10) @@
|
| 178 |
|
} |
| 179 |
|
echo $post_link; |
| 180 |
|
|
| 181 |
|
if ( $comment->comment_parent ) { |
| 182 |
|
$parent = get_comment( $comment->comment_parent ); |
| 183 |
|
$parent_link = esc_url( get_comment_link( $parent ) ); |
| 184 |
|
$name = get_comment_author( $parent ); |
| 185 |
|
printf( |
| 186 |
|
/* translators: %s: comment link */ |
| 187 |
|
' | ' . __( 'In reply to %s.' ), |
| 188 |
|
'<a href="' . $parent_link . '">' . $name . '</a>' |
| 189 |
|
); |
| 190 |
|
} |
| 191 |
|
?> |
| 192 |
|
</td> |
| 193 |
|
</tr> |
wp-admin/edit-form-comment.php 1 location
|
@@ 128-142 (lines=15) @@
|
| 125 |
|
</div> |
| 126 |
|
|
| 127 |
|
<?php |
| 128 |
|
if ( $comment->comment_parent ) : |
| 129 |
|
$parent = get_comment( $comment->comment_parent ); |
| 130 |
|
if ( $parent ) : |
| 131 |
|
$parent_link = esc_url( get_comment_link( $parent ) ); |
| 132 |
|
$name = get_comment_author( $parent ); |
| 133 |
|
?> |
| 134 |
|
<div class="misc-pub-section misc-pub-reply-to"> |
| 135 |
|
<?php printf( |
| 136 |
|
/* translators: %s: comment link */ |
| 137 |
|
__( 'In reply to: %s' ), |
| 138 |
|
'<b><a href="' . $parent_link . '">' . $name . '</a></b>' |
| 139 |
|
); ?> |
| 140 |
|
</div> |
| 141 |
|
<?php endif; |
| 142 |
|
endif; ?> |
| 143 |
|
|
| 144 |
|
<?php |
| 145 |
|
/** |
wp-admin/includes/class-wp-comments-list-table.php 1 location
|
@@ 641-652 (lines=12) @@
|
| 638 |
|
$this->column_author( $comment ); |
| 639 |
|
echo '</div>'; |
| 640 |
|
|
| 641 |
|
if ( $comment->comment_parent ) { |
| 642 |
|
$parent = get_comment( $comment->comment_parent ); |
| 643 |
|
if ( $parent ) { |
| 644 |
|
$parent_link = esc_url( get_comment_link( $parent ) ); |
| 645 |
|
$name = get_comment_author( $parent ); |
| 646 |
|
printf( |
| 647 |
|
/* translators: %s: comment link */ |
| 648 |
|
__( 'In reply to %s.' ), |
| 649 |
|
'<a href="' . $parent_link . '">' . $name . '</a>' |
| 650 |
|
); |
| 651 |
|
} |
| 652 |
|
} |
| 653 |
|
|
| 654 |
|
comment_text( $comment ); |
| 655 |
|
if ( $this->user_can ) { ?> |