summaryrefslogtreecommitdiffstats
path: root/wp-admin/edit-form-comment.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-12-22 12:54:24 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-12-22 12:54:24 +0000
commit4fb300c67a3442cd0209a6129d53f0f727b60743 (patch)
treea190684f113f031dbbac1d0bf09a1202251e3524 /wp-admin/edit-form-comment.php
parent866b3a1b844041e6128e7e3c22710b49e72b99ec (diff)
downloadwordpress-mu-4fb300c67a3442cd0209a6129d53f0f727b60743.tar.gz
wordpress-mu-4fb300c67a3442cd0209a6129d53f0f727b60743.tar.xz
wordpress-mu-4fb300c67a3442cd0209a6129d53f0f727b60743.zip
WP Merge to rev 4661
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@828 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/edit-form-comment.php')
-rw-r--r--wp-admin/edit-form-comment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php
index 0cc2a37..92897b2 100644
--- a/wp-admin/edit-form-comment.php
+++ b/wp-admin/edit-form-comment.php
@@ -67,7 +67,7 @@ addLoadEvent(focusit);
<tr>
<th scope="row" valign="top"><?php _e('Delete'); $delete_nonce = wp_create_nonce( 'delete-comment_' . $comment->comment_ID ); ?>:</th>
- <td><input name="deletecomment" class="button delete" type="submit" id="deletecomment" tabindex="10" value="<?php _e('Delete this comment') ?>" <?php echo "onclick=\"if ( confirm('" . __("You are about to delete this comment \\n \'Cancel\' to stop, \'OK\' to delete.") . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true; } return false;\""; ?> />
+ <td><input name="deletecomment" class="button delete" type="submit" id="deletecomment" tabindex="10" value="<?php _e('Delete this comment') ?>" <?php echo "onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true; } return false;\""; ?> />
<input type="hidden" name="c" value="<?php echo $comment->comment_ID ?>" />
<input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" />
<input type="hidden" name="noredir" value="1" />