Skip to content

Commit

Permalink
Add missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Oct 12, 2021
1 parent c280df1 commit 3d67fb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3d67fb9

Please sign in to comment.