Skip to content

Commit

Permalink
Move namespace inside JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz committed Dec 12, 2023
1 parent 836818e commit 7c3ca02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/comments/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function render_block_core_comments( $attributes, $content, $block ) {
$p = new WP_HTML_Tag_Processor( $output );
if ( $p->next_tag( array( 'class_name' => 'wp-block-comments' ) ) ) {
// Add the necessary directives.
$p->set_attribute( 'data-wp-interactive', 'core/comments' );
$p->set_attribute( 'data-wp-interactive', '{ "namespace": "core/comments" }' );
$p->set_attribute( 'data-wp-navigation-id', 'comments-' . ++$id );
$p->set_attribute( 'data-wp-slot-provider', true );
$p->set_attribute(
Expand Down

0 comments on commit 7c3ca02

Please sign in to comment.