Skip to content

Commit

Permalink
Updates to 1.11.12
Browse files Browse the repository at this point in the history
  • Loading branch information
MemberPress committed Jul 20, 2023
1 parent a37e195 commit c8d52f6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/data/stripe_payment_methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
[
'key' => 'afterpay_clearpay',
'name' => 'Afterpay and Clearpay',
'currencies' => ['AUD', 'CAD', 'NZD', 'GBP', 'USD', 'EUR'],
'currencies' => ['AUD', 'CAD', 'NZD', 'GBP', 'USD'],
'capabilities' => ['payment_intents'],
],
[
Expand Down
1 change: 1 addition & 0 deletions app/gateways/stripe/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
this.$textFields.add(this.$form.find('input[name="mepr_coupon_code"]')).on('blur', $.proxy(this.maybeUpdateElements, this));
this.$selectFields.on('change', $.proxy(this.maybeUpdateElements, this));
this.$orderBumps.on('change', $.proxy(this.maybeUpdateElements, this));
this.$form.find('input[name="mpgft-signup-gift-checkbox"]').on('change', $.proxy(this.maybeUpdateElements, this));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion app/models/MeprProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ public static function get_pricing_page_product_ids()
}

public function is_one_time_payment() {
return ($this->period_type == 'lifetime' || $this->price == 0.00);
return MeprHooks::apply_filters('mepr_product_is_one_time_payment', $this->period_type == 'lifetime' || $this->price == 0.00);
}

//Just for checking if the membership type is a renewable type
Expand Down
4 changes: 2 additions & 2 deletions i18n/memberpress.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the MemberPress plugin.
msgid ""
msgstr ""
"Project-Id-Version: MemberPress 1.11.11\n"
"Project-Id-Version: MemberPress 1.11.12\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/memberpress\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-07-18T11:30:16-06:00\n"
"POT-Creation-Date: 2023-07-19T15:09:16-06:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: memberpress\n"
Expand Down
2 changes: 1 addition & 1 deletion memberpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: MemberPress Pro 30 (Legacy)
Plugin URI: http://www.memberpress.com/
Description: The membership plugin that makes it easy to accept payments for access to your content and digital products.
Version: 1.11.11
Version: 1.11.12
Author: Caseproof, LLC
Author URI: http://caseproof.com/
Text Domain: memberpress
Expand Down

0 comments on commit c8d52f6

Please sign in to comment.