Skip to content

Commit d8d2977

Browse files
committed
Plugins: Use remote Stripe script to avoid breaking changes related to local version
1 parent 414cdbb commit d8d2977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mu-plugins/jquery.org/stripe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class StripeForm {
1010
public static function init() {
11-
wp_enqueue_script( 'stripe', get_template_directory_uri() . '/js/stripe.js' );
11+
wp_enqueue_script( 'stripe', "https://checkout.stripe.com/checkout.js" );
1212
wp_localize_script( 'stripe', 'StripeForm', array(
1313
'url' => admin_url('admin-ajax.php'),
1414
'action' => 'stripe_charge',

0 commit comments

Comments
 (0)