| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Merchant |
| 4 | 4 | * Plugin URI: https://athemes.com/merchant |
| 5 | 5 | * Description: All-in-one WooCommerce plugin for pre-orders, product labels, buy now, quick view, discount rules and more. |
| 6 | - * Version: 2.2.8 | |
| 6 | + * Version: 2.3.2 | |
| 7 | 7 | * Author: aThemes |
| 8 | 8 | * Author URI: https://athemes.com |
| 9 | 9 | * License: GPLv3 or later License |
| 10 | 10 | * License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| @@ -9,12 +9,12 @@ | ||
| 9 | 9 | * License: GPLv3 or later License |
| 10 | 10 | * License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| 11 | 11 | * Text Domain: merchant |
| 12 | 12 | * Domain Path: /languages |
| 13 | - * Requires PHP: 7.3 | |
| 13 | + * Requires PHP: 7.4 | |
| 14 | 14 | * |
| 15 | 15 | * WC requires at least: 6.0 |
| 16 | - * WC tested up to: 10.7.0 | |
| 16 | + * WC tested up to: 11.0.0 | |
| 17 | 17 | * |
| 18 | 18 | * @package Merchant |
| 19 | 19 | * @since 1.0 |
| 20 | 20 | */ |
| @@ -24,10 +24,10 @@ | ||
| 24 | 24 | exit; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | // Merchant constants. |
| 28 | -define( 'MERCHANT_VERSION', '2.2.8' ); | |
| 29 | -define( 'MERCHANT_DB_VERSION', '1.1.0' ); // Update only when the database structure changes. In inc/classes/class-merchant-db-tables.php | |
| 28 | +define( 'MERCHANT_VERSION', '2.3.2' ); | |
| 29 | +define( 'MERCHANT_DB_VERSION', '1.2.0' ); // Update only when the database structure changes. In inc/classes/class-merchant-db-tables.php | |
| 30 | 30 | define( 'MERCHANT_FILE', __FILE__ ); |
| 31 | 31 | define( 'MERCHANT_BASE', trailingslashit( plugin_basename( MERCHANT_FILE ) ) ); |
| 32 | 32 | define( 'MERCHANT_DIR', trailingslashit( plugin_dir_path( MERCHANT_FILE ) ) ); |
| 33 | 33 | define( 'MERCHANT_URI', trailingslashit( plugins_url( '/', MERCHANT_FILE ) ) ); |
| @@ -60,17 +60,8 @@ | ||
| 60 | 60 | * Constructor. |
| 61 | 61 | * |
| 62 | 62 | */ |
| 63 | 63 | public function __construct() { |
| 64 | - | |
| 65 | - // aThemes White Label Compatibility. | |
| 66 | - if ( function_exists( 'athemes_wl_get_data' ) ) { | |
| 67 | - $merchant_awl_data = athemes_wl_get_data(); | |
| 68 | - | |
| 69 | - if ( ! empty( $merchant_awl_data[ 'activate_white_label' ] ) ) { | |
| 70 | - define( 'MERCHANT_AWL_ACTIVE', true ); | |
| 71 | - } | |
| 72 | - } | |
| 73 | 64 | |
| 74 | 65 | // Translation. |
| 75 | 66 | add_action( 'init', array( $this, 'translation' ) ); |
| 76 | 67 | |