Add `.comment-reply-login` class to `get_post_reply_link()`, for consistency with `get_comment_reply_link()`.
props johnjamesjacoby. fixes #31298. Built from https://develop.svn.wordpress.org/trunk@31412 git-svn-id: http://core.svn.wordpress.org/trunk@31393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
491ecc4c1c
commit
7ff18dae4e
|
@ -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']
|
||||||
);
|
);
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-alpha-31411';
|
$wp_version = '4.2-alpha-31412';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue