From e01715f89351e03eae53f3cadb548e0242183b9c Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 30 Jun 2021 07:35:37 -0500 Subject: [PATCH] fix(taxonomy): Fix unregistering taxonomies --- src/Modules/TaxonomyModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules/TaxonomyModule.php b/src/Modules/TaxonomyModule.php index 5a5f165..6d9e057 100644 --- a/src/Modules/TaxonomyModule.php +++ b/src/Modules/TaxonomyModule.php @@ -62,7 +62,7 @@ protected function isTaxonomy($object) */ protected function hasTaxonomy($name) { - return post_type_exists($name); + return taxonomy_exists($name); } /**