Make WordPress Core

Ticket #2054: moderation.php.diff

File moderation.php.diff, 1.2 KB (added by nmeans, 19 years ago)

Patches wp-admin/moderation.php as described in ticket.

  • moderation.php

     
    145145<?php comment_text() ?>
    146146<p><?php
    147147echo '<a href="post.php?action=editcomment&amp;comment='.$comment->comment_ID.'">' . __('Edit') . '</a> | ';?>
    148 <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php _e('View Post') ?></a> |
     148<a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php _e('View Post') ?> - <?php echo $post_title;?></a> |
    149149<?php
    150150echo " <a href=\"post.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by &quot;%s&quot;.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), wp_specialchars($comment->comment_author, 1)) . "' );\">" . __('Delete just this comment') . "</a> | "; ?>  <?php _e('Bulk action:') ?>
    151151        <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve"><?php _e('Approve') ?></label>