Skip to content

Commit 6b975c4

Browse files
Update Search block label to default to 'Search' when no custom name is provided
1 parent c20526f commit 6b975c4

File tree

1 file changed

+1
-1
lines changed
  • packages/block-library/src/search

1 file changed

+1
-1
lines changed

packages/block-library/src/search/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const settings = {
5252
return sprintf(
5353
/* translators: %s: The block label */
5454
__( '%s (Instant search enabled)' ),
55-
customName || label
55+
customName || label || 'Search'
5656
);
5757
},
5858
example: {

0 commit comments

Comments
 (0)