WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/11/2015 04:10:54 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Add .comment-reply-login class to get_post_reply_link(), for consistency with get_comment_reply_link().

props johnjamesjacoby.
fixes #31298.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r31402 r31412  
    15031503
    15041504    if ( get_option('comment_registration') && ! is_user_logged_in() ) {
    1505         $link = sprintf( '<a rel="nofollow" href="%s">%s</a>',
     1505        $link = sprintf( '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>',
    15061506            wp_login_url( get_permalink() ),
    15071507            $args['login_text']
Note: See TracChangeset for help on using the changeset viewer.