Make WordPress Core

Changeset 1493


Ignore:
Timestamp:
07/28/2004 04:01:45 AM (20 years ago)
Author:
rboren
Message:

Bug 0000163. Confirm comment deletion. Courtesy of BrianMeidell and Kitten.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r1429 r1493  
    7979
    8080</form>
    81 <p><a class="delete" href="post.php?action=deletecomment&amp;noredir=true&amp;comment=<?php echo $commentdata['comment_ID']; ?>&amp;p=<?php echo $commentdata['comment_post_ID']; ?>"><?php _e('Delete comment') ?></a></p>
     81<p><a class="delete" href="post.php?action=confirmdeletecomment&amp;noredir=true&amp;comment=<?php echo $commentdata['comment_ID']; ?>&amp;p=<?php echo $commentdata['comment_post_ID']; ?>"><?php _e('Delete comment') ?></a></p>
    8282</div>
  • trunk/wp-admin/post.php

    r1481 r1493  
    511511
    512512echo "<div class=\"wrap\">\n";
    513 echo "<p><?php __('<strong>Caution:</strong> You are about to delete the following comment:'); ?></p>\n";
     513echo "<p>" . __('<strong>Caution:</strong> You are about to delete the following comment:') . "</p>\n";
    514514echo "<table border=\"0\">\n";
    515515echo "<tr><td>" . __('Author:') . "</td><td>" . $commentdata["comment_author"] . "</td></tr>\n";
Note: See TracChangeset for help on using the changeset viewer.