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:
parent
0fdfb101db
commit
5d35c181dc
@ -1502,7 +1502,7 @@ function get_post_reply_link($args = array(), $post = null) {
|
||||
}
|
||||
|
||||
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() ),
|
||||
$args['login_text']
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user