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
This commit is contained in:
Sergey Biryukov 2015-02-11 16:10:54 +00:00
parent 0fdfb101db
commit 5d35c181dc

View File

@ -1502,7 +1502,7 @@ function get_post_reply_link($args = array(), $post = null) {
} }
if ( get_option('comment_registration') && ! is_user_logged_in() ) { if ( get_option('comment_registration') && ! is_user_logged_in() ) {
$link = sprintf( '<a rel="nofollow" href="%s">%s</a>', $link = sprintf( '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>',
wp_login_url( get_permalink() ), wp_login_url( get_permalink() ),
$args['login_text'] $args['login_text']
); );