0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/frontend
Sven Ewers 0030acf5a6 🎨 Optimized loading stripe scripts only when it is needed (#11499)
closes #11463

- Ghost used to always load stripe.js into the frontend of all pages when memberships are enabled, even when Stripe isn't configured / memberships to a page are free. This changes Ghost's behaviour to only load stripe.js when both stripe API tokens are present & not empty (the quickest way to verify that Stripe is fully configured & operational on a blog).
- Needs a follow-up cleanup removing confusing/not functional `isPaymentConfigured` method from members service
2020-01-17 11:57:29 +07:00
..
apps Removed subscribers from the codebase (#11153) 2019-10-09 11:47:04 +02:00
helpers 🎨 Optimized loading stripe scripts only when it is needed (#11499) 2020-01-17 11:57:29 +07:00
meta Updated meta/structured data sources & fallbacks (#11068) 2019-11-21 13:08:00 +00:00
services Merge branch 'mega' 2019-11-27 12:12:27 +00:00
views Updated unsubscribe copy 2019-11-26 11:03:14 +01:00