Skip to content

Commit

Permalink
Remove unnecessary object cast
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz authored Sep 12, 2023
1 parent 751e458 commit 01b188b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/query/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function render_block_core_query( $attributes, $content, $block ) {
wp_json_encode(
array(
'core' => array(
'query' => (object) array(
'query' => array(
'loadingText' => __( 'Loading page, please wait.' ),
'loadedText' => __( 'Page Loaded.' ),
),
Expand Down

0 comments on commit 01b188b

Please sign in to comment.