diff --git a/classes/class-ledyer-main.php b/classes/class-ledyer-main.php index 7deb3d9..e26e376 100644 --- a/classes/class-ledyer-main.php +++ b/classes/class-ledyer-main.php @@ -51,7 +51,7 @@ class Ledyer_Checkout_For_WooCommerce { */ public $checkout; - const VERSION = '1.8.0'; + const VERSION = '1.8.1'; const SLUG = 'ledyer-checkout-for-woocommerce'; const SETTINGS = 'ledyer_checkout_for_woocommerce_settings'; diff --git a/ledyer-checkout-for-woocommerce.php b/ledyer-checkout-for-woocommerce.php index 58c39f2..45a8b3d 100644 --- a/ledyer-checkout-for-woocommerce.php +++ b/ledyer-checkout-for-woocommerce.php @@ -5,7 +5,7 @@ * Description: Ledyer Checkout payment gateway for WooCommerce. * Author: Maksimer/Ledyer * Author URI: https://www.maksimer.com/ - * Version: 1.8.0 + * Version: 1.8.1 * Text Domain: ledyer-checkout-for-woocommerce * Domain Path: /languages * @@ -39,8 +39,8 @@ * Required minimums and constants */ \define( 'LCO_WC_VERSION', Ledyer_Checkout_For_WooCommerce::VERSION ); -\define( 'LCO_WC_MIN_PHP_VER', '5.6.0' ); -\define( 'LCO_WC_MIN_WC_VER', '3.9.0' ); +\define( 'LCO_WC_MIN_PHP_VER', '7.4.0' ); +\define( 'LCO_WC_MIN_WC_VER', '5.6.0' ); \define( 'LCO_WC_MAIN_FILE', __FILE__ ); \define( 'LCO_WC_PLUGIN_NAME', dirname( plugin_basename( LCO_WC_MAIN_FILE ) ) ); \define( 'LCO_WC_PLUGIN_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); @@ -48,12 +48,12 @@ // Declare HPOS compatibility. add_action( - 'before_woocommerce_init', - function () { - if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { - \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); - } - } + 'before_woocommerce_init', + function () { + if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { + \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); + } + } ); function ledyer() { diff --git a/readme.txt b/readme.txt index 71b908c..767aa61 100644 --- a/readme.txt +++ b/readme.txt @@ -2,11 +2,16 @@ Contributors: maksimer, ledyer Tags: woocommerce, ledyer, ecommerce, e-commerce, checkout Donate link: https://ledyer.com -Requires at least: 4.0 -Tested up to: 6.3 -Requires PHP: 7.0 -WC requires at least: 4.0.0 -WC tested up to: 8.2.0 -Stable tag: 1.8.0 +Requires at least: 5.0 +Tested up to: 6.6.2 +Requires PHP: 7.4 +WC requires at least: 5.6.0 +WC tested up to: 9.3.3 +Stable tag: 1.8.1 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html + +== Changelog == += 2024.10.01 - version 1.8.1 = +* Fix - Update deprecated sanitization. +* Fix - Confirm that the current Ledyer payment id is set as transaction id in WooCommerce after purchase. \ No newline at end of file