Skip to content

Commit

Permalink
Site Logo Block: Fix non-admin users seeing zero character (#65010)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: akasunil <sunil25393@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
  • Loading branch information
5 people committed Sep 4, 2024
1 parent 661d629 commit 3a310c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/site-logo/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export default function LogoEdit( {
context: 'view',
} );
const _isRequestingMediaItem =
_siteLogoId &&
!! _siteLogoId &&
! select( coreStore ).hasFinishedResolution( 'getMedia', [
_siteLogoId,
{ context: 'view' },
Expand Down

0 comments on commit 3a310c4

Please sign in to comment.