From 749898bcf20b6eb6b1236d765a8382c46d6563a8 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 28 Jul 2004 04:01:45 +0000 Subject: [PATCH] Bug 0000163. Confirm comment deletion. Courtesy of BrianMeidell and Kitten. git-svn-id: https://develop.svn.wordpress.org/trunk@1493 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-form-comment.php | 2 +- wp-admin/post.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index d1d0aced40..ff8445e00b 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -78,5 +78,5 @@ if ($user_level > 4) { ?> -

+

diff --git a/wp-admin/post.php b/wp-admin/post.php index 674b57132d..3e31070c22 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -510,7 +510,7 @@ $p = $_GET['p']; $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. Go back!'), 'edit.php')); echo "
\n"; -echo "

Caution: You are about to delete the following comment:'); ?>

\n"; +echo "

" . __('Caution: You are about to delete the following comment:') . "

\n"; echo "\n"; echo "\n"; echo "\n";
" . __('Author:') . "" . $commentdata["comment_author"] . "
" . __('E-mail:') . "" . $commentdata["comment_author_email"] . "