Comment action fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@7013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6e323c8411
commit
af552e88d1
|
@ -217,9 +217,9 @@ if ($comments) {
|
||||||
<td>
|
<td>
|
||||||
<?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
|
<?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
|
||||||
if ( 'approved' != $comment_status )
|
if ( 'approved' != $comment_status )
|
||||||
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> | ';
|
echo "<a href='$approve_url' class='delete:the-comment-list:comment-$comment->comment_ID:33FF33:action=dim-comment' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a> | ';
|
||||||
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> | ';
|
echo "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1' title='" . __( 'Mark this comment as spam' ) . "'>" . __( 'Spam' ) . '</a> | ';
|
||||||
echo "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete'>" . __('Delete') . "</a> ";
|
echo "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete'>" . __('Delete') . '</a>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue