X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/0459461f9ea42e0b090759ff6fe5f48360bef750..refs/tags/wordpress-4.5:/wp-admin/comment.php diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 939f77ee..ba700ba6 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -81,7 +81,7 @@ case 'spam' : $comment_id = absint( $_GET['c'] ); - if ( !$comment = get_comment_to_edit( $comment_id ) ) { + if ( ! $comment = get_comment( $comment_id ) ) { wp_redirect( admin_url('edit-comments.php?error=1') ); die(); } @@ -142,27 +142,27 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved break; } if ( $message ) { - echo '

' . $message . '

'; + echo '

' . $message . '

'; } } ?> -

+

- + -comment_author_email ) { ?> + - + -comment_author_url ) { ?> + - + @@ -194,19 +194,27 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved - +
comment_author; ?>
comment_author_email; ?>
comment_author_url; ?>
- + comment_post_ID ) ) { + echo '' . $submitted . ''; + } else { + echo $submitted; + } + ?>
comment_content; ?> + +

comment_ID}" ); ?>">

+
@@ -214,7 +222,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved

- +