Skip to content

Commit

Permalink
Fix: return empty string instead of false
Browse files Browse the repository at this point in the history
  • Loading branch information
up1512001 committed Oct 3, 2024
1 parent 778d76b commit f3afb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-terms/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function render_block_core_post_terms( $attributes, $content, $block ) {
);

if ( is_wp_error( $post_terms ) ) {
return false;
return '';
}

return $post_terms;
Expand Down

0 comments on commit f3afb61

Please sign in to comment.