Skip to content

Commit

Permalink
[CYS on core] Set the default width after logo update (#45384)
Browse files Browse the repository at this point in the history
* Set default width after logo update

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
albarin and github-actions committed Mar 7, 2024
1 parent d6cbbfb commit 60d93e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -110,6 +110,7 @@ const useLogoEdit = ( {
}

setLogo( media.id, shouldForceSync );
setAttributes( { width: DEFAULT_LOGO_WIDTH } );
};

const onInitialSelectLogo = ( media: { id: string; url: string } ) => {
Expand Down
4 changes: 4 additions & 0 deletions plugins/woocommerce/changelog/45384-45379-update-logo-width
@@ -0,0 +1,4 @@
Significance: minor
Type: fix

CYS - Set a default width for the site logo after uploading it.

0 comments on commit 60d93e4

Please sign in to comment.