From 87cb58abdbf70f5bd290aa6970aed31730decfae Mon Sep 17 00:00:00 2001 From: ntsekouras Date: Fri, 18 Jun 2021 10:55:47 +0300 Subject: [PATCH] Remove `gutenberg` domain from Post Template block --- packages/block-library/src/post-template/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/post-template/index.php b/packages/block-library/src/post-template/index.php index 88e029946c8308..dd69fda45fe7f3 100644 --- a/packages/block-library/src/post-template/index.php +++ b/packages/block-library/src/post-template/index.php @@ -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 );