Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Sep 11, 2023
1 parent 68831b7 commit 751e458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/query/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function render_block_core_query( $attributes, $content, $block ) {
// Add the necessary directives.
$p->set_attribute( 'data-wp-interactive', true );
$p->set_attribute( 'data-wp-navigation-id', 'query-' . $attributes['queryId'] );
// Use context to send translated strings.
$p->set_attribute(
'data-wp-context',
wp_json_encode(
Expand Down

0 comments on commit 751e458

Please sign in to comment.