Avoid using HTML in translation strings in `edit-form-comment.php`.

Fixes #31847.


git-svn-id: https://develop.svn.wordpress.org/trunk@32801 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-06-16 20:07:14 +00:00
parent 296c559baf
commit 862c761c08
1 changed files with 10 additions and 2 deletions

View File

@ -112,7 +112,11 @@ if ( current_user_can( 'edit_post', $post_id ) ) {
?>
<div class="misc-pub-section misc-pub-response-to">
<?php printf( __( 'In response to: <b>%s</b>' ), $post_link ); ?>
<?php printf(
/* translators: post link */
__( 'In response to: %s' ),
'<b>' . $post_link . '</b>'
); ?>
</div>
<?php
@ -122,7 +126,11 @@ if ( $comment->comment_parent ) :
$name = get_comment_author( $parent->comment_ID );
?>
<div class="misc-pub-section misc-pub-reply-to">
<?php printf( __( 'In reply to: <b><a href="%1$s">%2$s</a></b>' ), $parent_link, $name ); ?>
<?php printf(
/* translators: comment link */
__( 'In reply to: %s' ),
'<b><a href="' . $parent_link . '">' . $name . '</a></b>'
); ?>
</div>
<?php endif; ?>