From 84fe3f69cb26750e6f876b5a883303aaa1728e7b Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 10 Sep 2024 15:57:08 +0200 Subject: [PATCH] Restore createInterpolateElement after rebase. --- .../editor/src/components/post-url/index.js | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/packages/editor/src/components/post-url/index.js b/packages/editor/src/components/post-url/index.js index effa8b34f6ab70..222c818477c5f9 100644 --- a/packages/editor/src/components/post-url/index.js +++ b/packages/editor/src/components/post-url/index.js @@ -86,18 +86,21 @@ export default function PostURL( { onClose } ) { { isEditable && (

- - { __( - 'Customize the last part of the Permalink.' - ) } - - - { __( 'Learn more.' ) } - + { createInterpolateElement( + __( + 'Customize the last part of the URL. Learn more.' + ), + { + span: , + a: ( + + ), + } + ) }

) }