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:
parent
15f2e57a5a
commit
ec01716bb2
|
@ -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>
|
||||
|
|
|
@ -610,7 +610,11 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||
if ( $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>'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34296';
|
||||
$wp_version = '4.4-alpha-34297';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue