Skip to content

Commit

Permalink
Merge pull request #274 from level-level/fix/get_terms_convert_to_cla…
Browse files Browse the repository at this point in the history
…rkson_terms

Fix terms conversion
  • Loading branch information
menno-ll authored Oct 23, 2024
2 parents a9fbe71 + d65d074 commit 0697141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WordPress_Object/Clarkson_Taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
}

/**
Expand Down

0 comments on commit 0697141

Please sign in to comment.