Skip to content

Commit

Permalink
Fix terms conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
menno-ll authored Oct 23, 2024
1 parent a9fbe71 commit d65d074
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 d65d074

Please sign in to comment.