From d65d074b2946adf59f2cd7570b5d9054fd0feb7d Mon Sep 17 00:00:00 2001 From: Menno van den Ende <50165380+menno-ll@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:47:05 +0200 Subject: [PATCH] Fix terms conversion --- src/WordPress_Object/Clarkson_Taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WordPress_Object/Clarkson_Taxonomy.php b/src/WordPress_Object/Clarkson_Taxonomy.php index 890eb4a..b5fd6ca 100644 --- a/src/WordPress_Object/Clarkson_Taxonomy.php +++ b/src/WordPress_Object/Clarkson_Taxonomy.php @@ -107,7 +107,7 @@ public function get_terms( $args ) { $args['fields'] = 'all'; $terms = get_terms( $args ); - return Objects::get_instance()->get_objects( is_array( $terms ) ? $terms : array() ); + return Objects::get_instance()->get_terms( is_array( $terms ) ? $terms : array() ); } /**