Don't use HTML tags in translation strings for "In Reply To" links for comments in the admin.

Props ramiy.
Fixes #31857.

Built from https://develop.svn.wordpress.org/trunk@34297


git-svn-id: http://core.svn.wordpress.org/trunk@34261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-09-18 18:36:24 +00:00
parent 15f2e57a5a
commit ec01716bb2
3 changed files with 11 additions and 3 deletions

View File

@@ -182,7 +182,11 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
$parent = get_comment( $comment->comment_parent );
$parent_link = esc_url( get_comment_link( $parent ) );
$name = get_comment_author( $parent );
printf( ' | ' . __( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name );
printf(
/* translators: comment link */
' | ' . __( 'In reply to %s.' ),
'<a href="' . $parent_link . '">' . $name . '</a>'
);
}
?>
</td>