Skip to content

Commit 17658fa

Browse files
Fix comments
Co-authored-by: Carlos Bravo <[email protected]>
1 parent d6238b2 commit 17658fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/block-bindings/post-data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function _block_bindings_post_data_get_value( array $source_args, $block_instanc
3535
);
3636

3737
if ( $is_navigation_block ) {
38-
// Navigation blocks: read from block attributes
38+
// Navigation blocks: read from block attributes.
3939
$post_id = $block_instance->attributes['id'] ?? null;
4040
} else {
41-
// All other blocks: use context
41+
// All other blocks: use context.
4242
$post_id = $block_instance->context['postId'] ?? null;
4343
}
4444

0 commit comments

Comments
 (0)