diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index b1d5ac47730aec..b3eaaa8b645c9c 100644 --- a/packages/editor/src/components/post-publish-panel/prepublish.js +++ b/packages/editor/src/components/post-publish-panel/prepublish.js @@ -53,7 +53,7 @@ function PostPublishPanelPrepublish( { children } ) { ] ), siteIconUrl: siteData.site_icon_url, siteTitle: siteData.name, - siteHome: filterURLForDisplay( siteData.home ), + siteHome: siteData.home && filterURLForDisplay( siteData.home ), }; }, [] ); @@ -103,7 +103,9 @@ function PostPublishPanelPrepublish( { children } ) {
{ siteIcon }
- { siteTitle } + + { siteTitle || __( '(Untitled)' ) } + { siteHome }