X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3e7fab96d7874067884348df10bbdcdefa4a89ad..8a06f4f9392d1ac373442f82ee40428a3cb81395:/wp-admin/comment.php?ds=sidebyside diff --git a/wp-admin/comment.php b/wp-admin/comment.php index eee6a12f..d1e394ea 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -4,70 +4,86 @@ require_once('admin.php'); $parent_file = 'edit-comments.php'; $submenu_file = 'edit-comments.php'; -wp_reset_vars(array('action')); +wp_reset_vars( array('action') ); if ( isset( $_POST['deletecomment'] ) ) $action = 'deletecomment'; -switch($action) { -case 'editcomment': +function comment_footer_die( $msg ) { // $msg is assumed to contain HTML and be sanitized + echo "
$msg
'.__('Caution:').' '.__('You are about to mark the following comment as spam:'); ?>
- -'.__('Caution:').' '.__('You are about to delete the following comment:'); ?>
- -'.__('Caution:').' '.__('You are about to approve the following comment:'); ?>
- + + +- -
+ | comment_author; ?> | |
---|---|---|
+ | comment_author_email; ?> | |
+ | comment_author_url; ?> | |
+ | comment_content; ?> |