From 6ffef5b404055fd69729b8d0118c2d7c63e025ca Mon Sep 17 00:00:00 2001 From: Miguel Lezama Date: Thu, 22 Aug 2024 17:36:01 -0300 Subject: [PATCH 1/2] remove feature flag --- .../plugins/jetpack/extensions/blocks/subscriptions/editor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/subscriptions/editor.js b/projects/plugins/jetpack/extensions/blocks/subscriptions/editor.js index ee4a6a6ffd14c..a3fc6085dde1c 100644 --- a/projects/plugins/jetpack/extensions/blocks/subscriptions/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/subscriptions/editor.js @@ -68,8 +68,7 @@ registerJetpackBlockFromMetadata( metadata, { const shouldShowNewsletterMenu = () => { const postType = select( 'core/editor' ).getCurrentPostType(); const isPost = postType === 'post'; - // TODO: Remove the query param check once the feature is stable. - return isPost && new URLSearchParams( window.location.search ).has( 'showNewsletterMenu' ); + return isPost; }; // Registers slot/fill panels defined via settings.render and command palette commands From d8aa51c8b9a8dc61582dbc0e794abbec9902f5b6 Mon Sep 17 00:00:00 2001 From: Miguel Lezama Date: Thu, 22 Aug 2024 17:41:58 -0300 Subject: [PATCH 2/2] changelog --- .../jetpack/changelog/update-newsletter-preview-feature-flag | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/update-newsletter-preview-feature-flag diff --git a/projects/plugins/jetpack/changelog/update-newsletter-preview-feature-flag b/projects/plugins/jetpack/changelog/update-newsletter-preview-feature-flag new file mode 100644 index 0000000000000..e40030947f3ee --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-newsletter-preview-feature-flag @@ -0,0 +1,4 @@ +Significance: minor +Type: enhancement + +Adds Gutenberg Newsletter plugin icon to the header, with a plugin sidebar with email preview feature. \ No newline at end of file