Make WordPress Core

Changeset 11060


Ignore:
Timestamp:
04/22/2009 09:27:07 PM (15 years ago)
Author:
ryan
Message:

Add comment-reply-login class. Props mattwalters. fixes #8633

File:
1 edited

Legend:

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

    r11013 r11060  
    994994
    995995    if ( get_option('comment_registration') && !$user_ID )
    996         $link = '<a rel="nofollow" href="' . clean_url( wp_login_url( get_permalink() ) ) . '">' . $login_text . '</a>';
     996        $link = '<a rel="nofollow" class="comment-reply-login" href="' . clean_url( wp_login_url( get_permalink() ) ) . '">' . $login_text . '</a>';
    997997    else
    998998        $link = "<a rel='nofollow' class='comment-reply-link' href='" . clean_url( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#" . $respond_id . "' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\", \"$post->ID\")'>$reply_text</a>";
Note: See TracChangeset for help on using the changeset viewer.