0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
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
..
client@dd66c0f57c Updated Ghost-Admin to 3.3.0 2020-01-13 14:08:24 +02:00
frontend 🎨 Optimized loading stripe scripts only when it is needed (#11499) 2020-01-17 11:57:29 +07:00
server Handle content requests with overly long filenames 2020-01-16 14:18:09 +07:00
shared/nql-map-key-values 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
test Allowed pages to accept HTML as a source (#11422) 2020-01-08 17:44:34 +01:00
index.js