Skip to content

Commit

Permalink
Version update (1.8.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasHogefjord committed Oct 1, 2024
1 parent 9e55230 commit 22696ed
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
2 changes: 1 addition & 1 deletion classes/class-ledyer-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
18 changes: 9 additions & 9 deletions ledyer-checkout-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -39,21 +39,21 @@
* 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__ ) ) );
\define( 'LCO_WC_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );

// 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() {
Expand Down
17 changes: 11 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 22696ed

Please sign in to comment.