X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be8dc178e77d0b46189bbd8e33a216a9b90942..672d6bc6da735e745275ef7a86341dc1178da8d2:/wp-admin/comment.php diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 129d6211..6499c08d 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -22,7 +22,7 @@ if ( isset( $_POST['deletecomment'] ) ) * * @param string $msg Error Message. Assumed to contain HTML and be sanitized. */ -function comment_footer_die( $msg ) { // +function comment_footer_die( $msg ) { echo "

$msg

"; include('admin-footer.php'); die; @@ -90,18 +90,18 @@ if ( 'spam' == $_GET['dt'] ) { - - + +
' onclick="self.location='" />' onclick="self.location='" />
- + - - + + @@ -119,11 +119,11 @@ if ( 'spam' == $_GET['dt'] ) { comment_author_url ) { ?> -comment_author_url; ?> +comment_author_url; ?> - + comment_content; ?> @@ -216,7 +216,7 @@ case 'approvecomment' : case 'editedcomment' : $comment_id = absint( $_POST['comment_ID'] ); - $comment_post_id = absint( $_POST['comment_post_id'] ); + $comment_post_id = absint( $_POST['comment_post_ID'] ); check_admin_referer( 'update-comment_' . $comment_id );