Skip to content

Commit

Permalink
fix(taxonomy): Fix unregistering taxonomies
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Jun 30, 2021
1 parent 2e74596 commit e01715f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/TaxonomyModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function isTaxonomy($object)
*/
protected function hasTaxonomy($name)
{
return post_type_exists($name);
return taxonomy_exists($name);
}

/**
Expand Down

0 comments on commit e01715f

Please sign in to comment.