From 24a886c1316e6a83c18f2abcc750ab45284a5665 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Fri, 7 Oct 2022 19:43:44 +0400 Subject: [PATCH] Avoid PHP warning when getting dynamic template data (#44783) --- lib/compat/wordpress-6.1/block-template-utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compat/wordpress-6.1/block-template-utils.php b/lib/compat/wordpress-6.1/block-template-utils.php index 8b8c7f5bb2cf51..d1814b6f50e538 100644 --- a/lib/compat/wordpress-6.1/block-template-utils.php +++ b/lib/compat/wordpress-6.1/block-template-utils.php @@ -290,7 +290,7 @@ function _gutenberg_build_title_and_description_for_single_post_type_block_templ ); $template->description = sprintf( // translators: Represents the description of a user's custom template in the Site Editor, e.g. "Template for Page: Hello". - __( 'Template for %$s', 'gutenberg' ), + __( 'Template for %s', 'gutenberg' ), $post_title );