| @@ -8,9 +8,9 @@ | ||
| 8 | 8 | * @wordpress-plugin |
| 9 | 9 | * Plugin Name: Disco |
| 10 | 10 | * Plugin URI: https://webappick.com/ |
| 11 | 11 | * Description: Create logical, dynamic and automated discounts for your WooCommerce Store based on product, cart, and cart item information. |
| 12 | - * Version: 1.4.16 | |
| 12 | + * Version: 1.3.42 | |
| 13 | 13 | * Author: WebAppick |
| 14 | 14 | * Author URI: https://webappick.com/ |
| 15 | 15 | * License: GPLv3 or later |
| 16 | 16 | * License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| @@ -17,16 +17,16 @@ | ||
| 17 | 17 | * Text Domain: disco |
| 18 | 18 | * Domain Path: /languages |
| 19 | 19 | * |
| 20 | 20 | * WP Requirement & Test |
| 21 | - * Requires at least: 5.9 | |
| 22 | - * Tested up to: 7.1 | |
| 23 | - * Requires PHP: 7.4 | |
| 21 | + * Requires at least: 4.4 | |
| 22 | + * Tested up to: 6.9.4 | |
| 23 | + * Requires PHP: 5.6 | |
| 24 | 24 | * Requires Plugins: woocommerce |
| 25 | 25 | * |
| 26 | 26 | * WC Requirement & Test |
| 27 | 27 | * WC requires at least: 3.0 |
| 28 | - * WC tested up to: 11.1.0 | |
| 28 | + * WC tested up to: 10.7.0 | |
| 29 | 29 | */ |
| 30 | 30 | |
| 31 | 31 | // If this file is called directly, abort. |
| 32 | 32 | use Disco\Engine\Initialize; |
| @@ -35,9 +35,9 @@ | ||
| 35 | 35 | if ( ! defined( 'ABSPATH' ) ) { |
| 36 | 36 | die( 'We\'re sorry, but you can not directly access this file.' ); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | -const DISCO_VERSION = '1.4.16'; | |
| 39 | +const DISCO_VERSION = '1.3.42'; | |
| 40 | 40 | const DISCO_TEXTDOMAIN = 'disco'; |
| 41 | 41 | const DISCO_NAME = 'Disco'; |
| 42 | 42 | |
| 43 | 43 | define( 'DISCO_PLUGIN_ROOT', plugin_dir_path( __FILE__ ) ); |
| @@ -46,10 +46,10 @@ | ||
| 46 | 46 | define( 'DISCO_PRO_PLUGIN_FILE', dirname(__DIR__, 1) . '/disco-pro/disco-pro.php' ); |
| 47 | 47 | define( 'DISCO_LIBS_PATH', DISCO_PLUGIN_ROOT . 'libs/' ); |
| 48 | 48 | |
| 49 | 49 | const DISCO_PLUGIN_ABSOLUTE = __FILE__; |
| 50 | -const DISCO_MIN_PHP_VERSION = '7.4'; | |
| 51 | -const DISCO_WP_VERSION = '5.9'; | |
| 50 | +const DISCO_MIN_PHP_VERSION = '5.6'; | |
| 51 | +const DISCO_WP_VERSION = '4.4'; | |
| 52 | 52 | const DISCO_DB_VERSION = '1.0.0'; |
| 53 | 53 | |
| 54 | 54 | // WooCommerce has detected that some of your active plugins are incompatible with currently enabled WooCommerce features. Please review the details. |
| 55 | 55 | add_action( |
| @@ -82,9 +82,9 @@ | ||
| 82 | 82 | static function () { |
| 83 | 83 | echo wp_kses_post( |
| 84 | 84 | sprintf( |
| 85 | 85 | '<div class="notice notice-error"><p>%s</p></div>', |
| 86 | - __( 'Disco requires PHP 7.4 or newer.', 'disco' )// @phpstan-ignore-line | |
| 86 | + __( 'Disco requires PHP 5.6 or newer.', 'disco' )// @phpstan-ignore-line | |
| 87 | 87 | ) |
| 88 | 88 | ); |
| 89 | 89 | } |
| 90 | 90 | ); |
| @@ -155,9 +155,8 @@ | ||
| 155 | 155 | } |
| 156 | 156 | ); |
| 157 | 157 | |
| 158 | 158 | require_once __DIR__ . '/libs/WebAppick/Classes/DiscoWebAppickAPI.php'; |
| 159 | - require_once __DIR__ . '/libs/ActiveCampaign/ActiveCampaign.php'; | |
| 160 | 159 | |
| 161 | 160 | add_action( |
| 162 | 161 | 'init', function() { |
| 163 | 162 | DiscoWebAppickAPI::getInstance(); |