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

Fixes #31847.

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


git-svn-id: http://core.svn.wordpress.org/trunk@32772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-06-16 20:08:24 +00:00
parent 5c6b63d3a6
commit 45d5037a10
2 changed files with 11 additions and 3 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; ?>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32800';
$wp_version = '4.3-alpha-32801';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.