From 3d67fb962766fa9f23694a309a1aed0071fcacc5 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 12 Oct 2021 17:21:04 +0200 Subject: [PATCH] Add missing parameter --- includes/uninstall.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/uninstall.php b/includes/uninstall.php index 8b83af4d5c68..dc90f93db2c2 100644 --- a/includes/uninstall.php +++ b/includes/uninstall.php @@ -181,7 +181,8 @@ function delete_posts() { function delete_terms() { $taxonomies = []; - $post_type = new Story_Post_Type( new Settings() ); + $settings = new Settings(); + $post_type = new Story_Post_Type( $settings, new Experiments( $settings ) ); $taxonomies[] = ( new Media_Source_Taxonomy() )->get_taxonomy_slug(); $taxonomies[] = ( new Category_Taxonomy( $post_type ) )->get_taxonomy_slug();