From 6b975c4d413573e5e61f0d22b8b4ace4f0e7cdd9 Mon Sep 17 00:00:00 2001 From: Michal Czaplinski Date: Mon, 6 Jan 2025 16:11:53 +0000 Subject: [PATCH] Update Search block label to default to 'Search' when no custom name is provided --- packages/block-library/src/search/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/search/index.js b/packages/block-library/src/search/index.js index c81abebdf79800..e823cf6177472b 100644 --- a/packages/block-library/src/search/index.js +++ b/packages/block-library/src/search/index.js @@ -52,7 +52,7 @@ export const settings = { return sprintf( /* translators: %s: The block label */ __( '%s (Instant search enabled)' ), - customName || label + customName || label || 'Search' ); }, example: {