From 3a310c4dc4ad1c08c38a5cd72972f3db11ae60a8 Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:39:46 +0900 Subject: [PATCH] Site Logo Block: Fix non-admin users seeing zero character (#65010) Co-authored-by: t-hamano Co-authored-by: akasunil Co-authored-by: Mamaduka Co-authored-by: ramonjd --- packages/block-library/src/site-logo/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/site-logo/edit.js b/packages/block-library/src/site-logo/edit.js index edf8bbccfeb652..1d541ba35d6313 100644 --- a/packages/block-library/src/site-logo/edit.js +++ b/packages/block-library/src/site-logo/edit.js @@ -423,7 +423,7 @@ export default function LogoEdit( { context: 'view', } ); const _isRequestingMediaItem = - _siteLogoId && + !! _siteLogoId && ! select( coreStore ).hasFinishedResolution( 'getMedia', [ _siteLogoId, { context: 'view' },