diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index f5f4efedcb..146d6a8750 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -1460,7 +1460,7 @@ function upgrade_430() { ); foreach ( $comments as $comment ) { - wp_delete_comment( $comment->comment_ID ); + wp_delete_comment( $comment->comment_ID, true ); } } }