From e02ef7f16d6adc2dd4ec9ed6c1b85e300c9a3204 Mon Sep 17 00:00:00 2001 From: Rish Date: Tue, 1 Dec 2020 12:43:45 +0530 Subject: [PATCH] Pinned Portal to latest minor version no refs Ghost's Portal script is loaded via unpkg which was till now pinned to load `@latest` version, which unpkg auto-resolved to the latest released Portal version. This allowed fast iterations on Portal while still in active beta development to test latest Portal releases. Going forward, Portal will be pinned to latest specific minor version that allows releasing new features that are not backward compatible without affecting older Ghost releases. Note: All previous Ghost releases with Portal `@latest` will continue to resolve to latest version and will need to update to latest Ghost 3.x to use all Portal features. --- core/frontend/helpers/ghost_head.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/helpers/ghost_head.js b/core/frontend/helpers/ghost_head.js index c90fd2f8b8..6732959937 100644 --- a/core/frontend/helpers/ghost_head.js +++ b/core/frontend/helpers/ghost_head.js @@ -41,7 +41,7 @@ function getMembersHelper() { const stripeDirectPublishableKey = settingsCache.get('stripe_publishable_key'); const stripeConnectAccountId = settingsCache.get('stripe_connect_account_id'); - let membersHelper = ``; + let membersHelper = ``; membersHelper += (``); if ((!!stripeDirectSecretKey && !!stripeDirectPublishableKey) || !!stripeConnectAccountId) { membersHelper += '';