Skip to content

Commit

Permalink
Sync with svn
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Nov 18, 2024
1 parent 57b57aa commit 0566c61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function render( $attributes, $content, $block ) {
if ( ! isset( $block->context['postId'] ) ) {
return '';
}

return '';
$post_id = $block->context['postId'];

if ( ! post_type_has_hooks_info( get_post_type( $post_id ) ) ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ function render( $attributes, $content, $block ) {
return '';
}

return '';

$uses = null;
$used_by = null;
$has_uses = false;
Expand Down

0 comments on commit 0566c61

Please sign in to comment.