From d61cb9faf33c747b7fe874860741702d606ed277 Mon Sep 17 00:00:00 2001 From: Hsing-Yu Flowers Date: Wed, 10 Feb 2021 17:03:47 -0500 Subject: [PATCH] Change `siteUrl` to `homeUrl` on navigation site title (https://github.com/woocommerce/woocommerce-admin/pull/6240) * Get home url * Change siteUrl to homeUrl --- .../client/navigation/components/header/index.js | 4 ++-- plugins/woocommerce-admin/src/Loader.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/client/navigation/components/header/index.js b/plugins/woocommerce-admin/client/navigation/components/header/index.js index c87bdc8a8ca..1bb9d6a5b21 100644 --- a/plugins/woocommerce-admin/client/navigation/components/header/index.js +++ b/plugins/woocommerce-admin/client/navigation/components/header/index.js @@ -19,7 +19,7 @@ import { addHistoryListener } from '../../utils'; const Header = () => { const siteTitle = getSetting( 'siteTitle', '' ); - const siteUrl = getSetting( 'siteUrl', '' ); + const homeUrl = getSetting( 'homeUrl', '' ); const isScrolled = useIsScrolled(); const [ isFolded, setIsFolded ] = useState( document.body.classList.contains( false ) @@ -117,7 +117,7 @@ const Header = () => { { buttonIcon }