Mollie Payments for WooCommerce - Version 2.8.2

Version Description

  • 15/01/2018 =

  • Fix - Fixed a PHP error by setting an argument default for onOrderReceivedTitle(), because post ID not set in all WordPress versions

Download this release

Release Info

Developer davdebcom
Plugin Icon wp plugin Mollie Payments for WooCommerce
Version 2.8.2
Comparing to
See all releases

Code changes from version 2.8.1 to 2.8.2

includes/mollie/wc/gateway/abstract.php CHANGED
@@ -1193,7 +1193,7 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
1193
  /**
1194
  * @param WC_Order $order
1195
  */
1196
- public function onOrderReceivedTitle( $title, $id ) {
1197
 
1198
  if ( is_order_received_page() && get_the_ID() === $id ) {
1199
  global $wp;
1193
  /**
1194
  * @param WC_Order $order
1195
  */
1196
+ public function onOrderReceivedTitle( $title, $id = null ) {
1197
 
1198
  if ( is_order_received_page() && get_the_ID() === $id ) {
1199
  global $wp;
includes/mollie/wc/plugin.php CHANGED
@@ -7,7 +7,7 @@ class Mollie_WC_Plugin
7
  {
8
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
9
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
10
- const PLUGIN_VERSION = '2.8.1';
11
 
12
  const DB_VERSION = '1.0';
13
  const DB_VERSION_PARAM_NAME = 'mollie-db-version';
7
  {
8
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
9
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
10
+ const PLUGIN_VERSION = '2.8.2';
11
 
12
  const DB_VERSION = '1.0';
13
  const DB_VERSION_PARAM_NAME = 'mollie-db-version';
mollie-payments-for-woocommerce.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://github.com/mollie/WooCommerce
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
- * Version: 2.8.1
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://github.com/mollie/WooCommerce
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
+ * Version: 2.8.2
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: mollie, payments, woocommerce, payment gateway, e-commerce, credit card, i
4
  Requires at least: 3.8
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
- Stable tag: 2.8.1
8
  Requires PHP: 5.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -159,6 +159,10 @@ Automatic updates should work like a charm; as always though, ensure you backup
159
 
160
  == Changelog ==
161
 
 
 
 
 
162
  = 2.8.1 - 15/01/2018 =
163
 
164
  * New - iDEAL, KBC, Gift cards: Option to hide issuers/bank list in WooCommerce
4
  Requires at least: 3.8
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
+ Stable tag: 2.8.2
8
  Requires PHP: 5.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
159
 
160
  == Changelog ==
161
 
162
+ = 2.8.2 - 15/01/2018 =
163
+
164
+ * Fix - Fixed a PHP error by setting an argument default for onOrderReceivedTitle(), because post ID not set in all WordPress versions
165
+
166
  = 2.8.1 - 15/01/2018 =
167
 
168
  * New - iDEAL, KBC, Gift cards: Option to hide issuers/bank list in WooCommerce