Changeset 3803 for branches/2.0/wp-admin/edit.php
- Timestamp:
- 05/26/2006 11:03:02 PM (20 years ago)
- File:
-
- 1 edited
-
branches/2.0/wp-admin/edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/edit.php
r3781 r3803 263 263 if ( current_user_can('edit_post', $post->ID) ) { 264 264 echo "[ <a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">" . __('Edit') . "</a>"; 265 echo ' - <a href="' . wp_nonce_url('post.php?action=deletecomment&p=' . $post->ID . '&comment=' . $comment->comment_ID, 'delete-comment' . $comment->comment_ID) . '" onclick="return confirm(\'' . sprintf(__("You are about to delete this comment by "%s".\\n"Cancel" to stop, "OK" to delete."), wp_specialchars($comment->comment_author, 1)) . "');\">" . __('Delete') . '</a> ';265 echo ' - <a href="' . wp_nonce_url('post.php?action=deletecomment&p=' . $post->ID . '&comment=' . $comment->comment_ID, 'delete-comment' . $comment->comment_ID) . '" onclick="return confirm(\'' . __("You are about to delete this comment.\\n"Cancel" to stop, "OK" to delete.") . "');\">" . __('Delete') . '</a> '; 266 266 267 267 if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) {
Note: See TracChangeset
for help on using the changeset viewer.