Skip to content

Commit

Permalink
Update Search block label to default to 'Search' when no custom name …
Browse files Browse the repository at this point in the history
…is provided
  • Loading branch information
michalczaplinski committed Jan 6, 2025
1 parent c20526f commit 6b975c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/search/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const settings = {
return sprintf(
/* translators: %s: The block label */
__( '%s (Instant search enabled)' ),
customName || label
customName || label || 'Search'
);
},
example: {
Expand Down

0 comments on commit 6b975c4

Please sign in to comment.