diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index 916f42239fe2e8..b83215e348a320 100644 --- a/packages/editor/src/components/post-publish-panel/prepublish.js +++ b/packages/editor/src/components/post-publish-panel/prepublish.js @@ -9,6 +9,7 @@ import { get } from 'lodash'; import { __ } from '@wordpress/i18n'; import { PanelBody } from '@wordpress/components'; import { withSelect } from '@wordpress/data'; +import { createInterpolateElement } from '@wordpress/element'; /** * Internal dependencies @@ -54,29 +55,25 @@ function PostPublishPanelPrepublish( { <> - - , - ] } + title={ __( 'Visibility' ) } + summary={ createInterpolateElement( + __( 'Set to .' ), + { + PostVisibilityLabel: , + } + ) } > - - , - ] } + title={ __( 'Publish date' ) } + summary={ createInterpolateElement( + __( 'Set to .' ), + { + PostScheduleLabel: , + } + ) } >