Make WordPress Core

Changeset 7010


Ignore:
Timestamp:
02/24/2008 10:22:28 PM (18 years ago)
Author:
ryan
Message:

Move edit link to author name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r7009 r7010  
    204204    <td style="text-align: center;"><?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td>
    205205    <td class="comment">
    206     <p class="comment-author"><strong><?php comment_author(); ?></strong><br />
     206    <p class="comment-author"><strong><a class="row-title" href="comment.php?action=editcomment&amp;c=<?php echo $comment->comment_ID?>"><?php comment_author(); ?></a></strong><br />
    207207    <?php if ( !empty($author_url) ) : ?>
    208208    <a href="<?php echo $author_url ?>"><?php echo $author_url_display; ?></a> |
     
    222222            echo " <a href='" . $approve_url . "' class='delete:the-comment-list:comment-$comment->comment_post_ID:33FF33:action=dim-comment' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a> | ';
    223223        echo "<a href='" . $spam_url . "' class='delete:the-comment-list:comment-$comment->comment_post_ID::spam=1' title='" . __( 'Mark this comment as spam' ) . "'>" . __( 'Spam' ) . '</a> | ';
    224         echo "<a href='comment.php?action=editcomment&amp;c=$comment->comment_ID' class='edit'>" .  __('Edit') . "</a> | ";
    225224        echo "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete'>" . __('Delete') . "</a> ";
    226225    }
Note: See TracChangeset for help on using the changeset viewer.