Skip to content

Commit

Permalink
Remove gutenberg domain from Post Template block (#32804)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored Jun 18, 2021
1 parent 8a2f51e commit 9267fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-template/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function register_block_core_post_template() {
function render_legacy_query_loop_block( $attributes, $content, $block ) {
trigger_error(
/* translators: %1$s: Block type */
sprintf( __( 'Block %1$s has been renamed to Post Template. %1$s will be supported until WordPress version 5.9.', 'gutenberg' ), $block->name ),
sprintf( __( 'Block %1$s has been renamed to Post Template. %1$s will be supported until WordPress version 5.9.' ), $block->name ),
headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE
);
return render_block_core_post_template( $attributes, $content, $block );
Expand Down

0 comments on commit 9267fab

Please sign in to comment.