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:
parent
5c6b63d3a6
commit
45d5037a10
|
@ -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; ?>
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue