Skip to content

Commit

Permalink
Avoid PHP warning when getting dynamic template data (#44783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Oct 7, 2022
1 parent 3b13372 commit 24a886c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.1/block-template-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

Expand Down

0 comments on commit 24a886c

Please sign in to comment.