mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
0030acf5a6
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 |
||
---|---|---|
.. | ||
tpl | ||
asset.js | ||
author.js | ||
authors.js | ||
body_class.js | ||
cancel_link.js | ||
concat.js | ||
content.js | ||
date.js | ||
encode.js | ||
excerpt.js | ||
facebook_url.js | ||
foreach.js | ||
get.js | ||
ghost_foot.js | ||
ghost_head.js | ||
has.js | ||
img_url.js | ||
index.js | ||
is.js | ||
lang.js | ||
link.js | ||
link_class.js | ||
meta_description.js | ||
meta_title.js | ||
navigation.js | ||
page_url.js | ||
pagination.js | ||
plural.js | ||
post_class.js | ||
prev_next.js | ||
proxy.js | ||
reading_time.js | ||
register.js | ||
t.js | ||
tags.js | ||
template.js | ||
title.js | ||
twitter_url.js | ||
url.js | ||
utils.js |