diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index 235b54109c..fd31591ce5 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -1502,7 +1502,7 @@ function get_post_reply_link($args = array(), $post = null) { } if ( get_option('comment_registration') && ! is_user_logged_in() ) { - $link = sprintf( '%s', + $link = sprintf( '%s', wp_login_url( get_permalink() ), $args['login_text'] );