diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-03 10:52:54 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-03 10:52:54 +0000 |
commit | 23c0a299ada091cdeece968ad5cd3bdd20f5ef3c (patch) | |
tree | 9bdf04e7880e6188eca43a3bd161320568f205e4 /wp-admin/edit-form-comment.php | |
parent | 081300d1c11041e8b678f9cb0736468aa11e94f1 (diff) | |
download | wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.tar.gz wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.tar.xz wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.zip |
WP Merge to rev 4273
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@788 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/edit-form-comment.php')
-rw-r--r-- | wp-admin/edit-form-comment.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index bbcac0b..e90e059 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -66,8 +66,8 @@ addLoadEvent(focusit); <?php endif; ?> <tr> - <th scope="row" valign="top"><?php _e('Delete'); ?>:</th> - <td><input name="deletecomment" class="button" type="submit" id="deletecomment" tabindex="10" value="<?php _e('Delete this comment') ?>" <?php echo "onclick=\"return confirm('" . __("You are about to delete this comment \\n \'Cancel\' to stop, \'OK\' to delete.") . "')\""; ?> /> + <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;\""; ?> /> <input type="hidden" name="comment" 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" /> |