diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 52879ebbe5..c81e4c5ce2 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1734,7 +1734,6 @@ function wp_new_comment( $commentdata ) { function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) { global $wpdb; - $status = '0'; switch ( $comment_status ) { case 'hold': case '0':