diff --git a/packages/block-library/src/site-logo/edit.js b/packages/block-library/src/site-logo/edit.js index 5bcfafac9f3a08..6d3eda830878ec 100644 --- a/packages/block-library/src/site-logo/edit.js +++ b/packages/block-library/src/site-logo/edit.js @@ -506,6 +506,11 @@ export default function LogoEdit( { }; const onFilesDrop = ( filesList ) => { + if ( filesList?.length > 1 ) { + onUploadError( __( 'Only one image can be used as a site logo.' ) ); + return; + } + getSettings().mediaUpload( { allowedTypes: ALLOWED_MEDIA_TYPES, filesList,