diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 1415dd1e2f..7549316b78 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1736,7 +1736,7 @@ function get_comment_reply_link( $args = array(), $comment = null, $post = null 'postid' => $post->ID, 'belowelement' => $args['add_below'] . '-' . $comment->comment_ID, 'respondelement' => $args['respond_id'], - 'replyto' => sprintf( $args['reply_to_text'], $comment->comment_author ), + 'replyto' => sprintf( $args['reply_to_text'], get_comment_author( $comment ) ), ); $data_attribute_string = ''; @@ -1760,7 +1760,7 @@ function get_comment_reply_link( $args = array(), $comment = null, $post = null ) ) . '#' . $args['respond_id'], $data_attribute_string, - esc_attr( sprintf( $args['reply_to_text'], $comment->comment_author ) ), + esc_attr( sprintf( $args['reply_to_text'], get_comment_author( $comment ) ) ), $args['reply_text'] ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 4d47208a41..eb07302580 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52153'; +$wp_version = '5.9-alpha-52154'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.