diff --git a/btcpay-greenfield-for-woocommerce.php b/btcpay-greenfield-for-woocommerce.php index bd58dfd..df56672 100644 --- a/btcpay-greenfield-for-woocommerce.php +++ b/btcpay-greenfield-for-woocommerce.php @@ -7,7 +7,7 @@ * Author URI: https://btcpayserver.org * Text Domain: btcpay-greenfield-for-woocommerce * Domain Path: /languages - * Version: 1.1.4 + * Version: 1.1.5 * Requires PHP: 7.4 * Tested up to: 6.1 * Requires at least: 5.2 @@ -24,7 +24,7 @@ defined( 'ABSPATH' ) || exit(); -define( 'BTCPAYSERVER_VERSION', '1.1.4' ); +define( 'BTCPAYSERVER_VERSION', '1.1.5' ); define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' ); define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) ); define( 'BTCPAYSERVER_PLUGIN_URL', plugin_dir_url(__FILE__ ) ); diff --git a/readme.txt b/readme.txt index 394899f..e2ce5a3 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: bitcoin, btcpay, BTCPay Server, btcpayserver, WooCommerce, payment gateway Requires at least: 5.2 Tested up to: 6.1 Requires PHP: 7.4 -Stable tag: 1.1.4 +Stable tag: 1.1.5 License: MIT License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt @@ -103,6 +103,9 @@ You'll find extensive documentation and answers to many of your questions on [BT 6. Example of the PoS app you can launch. == Changelog == += 1.1.5 :: 2023-03-08 = +* Fix: fix error when plugins override delete_transient function not returning boolean value + = 1.1.4 :: 2023-01-20 = (redo deployment because of broken build pipe) * Fix: fixed error on thank you page for separate payment methods. diff --git a/src/Helper/GreenfieldApiHelper.php b/src/Helper/GreenfieldApiHelper.php index 41a1e23..c761adc 100644 --- a/src/Helper/GreenfieldApiHelper.php +++ b/src/Helper/GreenfieldApiHelper.php @@ -119,8 +119,8 @@ public static function supportedPaymentMethods(): array { /** * Deletes local cache of supported payment methods. */ - public static function clearSupportedPaymentMethodsCache(): bool { - return delete_transient( self::PM_CACHE_KEY ); + public static function clearSupportedPaymentMethodsCache(): void { + delete_transient( self::PM_CACHE_KEY ); } /**