From 5d35c181dc138c0a7480e59d9a06e5e47d68132b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 11 Feb 2015 16:10:54 +0000 Subject: [PATCH] Add `.comment-reply-login` class to `get_post_reply_link()`, for consistency with `get_comment_reply_link()`. props johnjamesjacoby. fixes #31298. git-svn-id: https://develop.svn.wordpress.org/trunk@31412 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] );