diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 6c0872d475..eee6a12fa0 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -39,7 +39,7 @@ case 'mac': $nonce_action = 'cdc' == $action ? 'delete-comment_' : 'approve-comment_'; $nonce_action .= $comment; - if ( ! $comment = get_comment($comment) ) + if ( ! $comment = get_comment_to_edit($comment) ) wp_die(__('Oops, no comment with this ID.').sprintf(' '.__('Go back').'!', 'edit.php')); if ( !current_user_can('edit_post', $comment->comment_post_ID) ) @@ -91,12 +91,12 @@ case 'mac': comment_author_url ) { ?>
'. __('Already pinged:') . '
- + post_status || 0 == $post_ID) { ?> @@ -190,7 +193,7 @@ else comment_ID); $form_action = 'editedcomment'; -$form_extra = "' />\n\n\n\ncomment_ID) ?>
TrackBack a URL: (Separate multiple URLs with spaces.)'), 'http://wordpress.org/docs/reference/post/#trackback'); echo ''; ?>