PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.2.18
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.2.18
1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 1.3.51 1.3.50 1.3.49 1.3.48 1.3.47 1.3.46 All 178 releases
← All changes | disco.php +6 -37 1.3.491.2.18 View file →
@@ -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.3.49
12 + * Version: 1.2.18
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
@@ -18,15 +18,15 @@
18 18 * Domain Path: /languages
19 19 *
20 20 * WP Requirement & Test
21 21 * Requires at least: 4.4
22 - * Tested up to: 7.0
23 - * Requires PHP: 7.4
22 + * Tested up to: 6.7
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: 10.8.1
28 + * WC tested up to: 9.4
29 29 */
30 30
31 31 // If this file is called directly, abort.
32 32 use Disco\Engine\Initialize;
@@ -35,20 +35,14 @@
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.3.49';
39 +const DISCO_VERSION = '1.2.18';
40 40 const DISCO_TEXTDOMAIN = 'disco';
41 41 const DISCO_NAME = 'Disco';
42 -
43 42 define( 'DISCO_PLUGIN_ROOT', plugin_dir_path( __FILE__ ) );
44 -define( 'DISCO_PLUGIN_FILE', __FILE__ );
45 -define( 'DISCO_BADGE_IMAGES_DIR', plugins_url( 'backend/views/asset/img', __FILE__ ));
46 -define( 'DISCO_PRO_PLUGIN_FILE', dirname(__DIR__, 1) . '/disco-pro/disco-pro.php' );
47 -define( 'DISCO_LIBS_PATH', DISCO_PLUGIN_ROOT . 'libs/' );
48 -
49 43 const DISCO_PLUGIN_ABSOLUTE = __FILE__;
50 -const DISCO_MIN_PHP_VERSION = '7.4';
44 +const DISCO_MIN_PHP_VERSION = '5.6';
51 45 const DISCO_WP_VERSION = '4.4';
52 46 const DISCO_DB_VERSION = '1.0.0';
53 47
54 48 // WooCommerce has detected that some of your active plugins are incompatible with currently enabled WooCommerce features. Please review the details.
@@ -94,21 +88,14 @@
94 88 }
95 89
96 90 $disco_libraries = require DISCO_PLUGIN_ROOT . 'vendor/autoload.php'; //phpcs:ignore
97 91
98 -// Must run before plugins_loaded so the buffer captures stray notices from any plugin.
99 -\Disco\Engine\OutputBuffer::start();
100 -
101 92 add_action('woocommerce_init', function () {
102 - require_once DISCO_PLUGIN_ROOT . 'libs/LiveChat/LiveChat.php';
103 93 require_once DISCO_PLUGIN_ROOT . 'functions/common.php';
104 94 require_once DISCO_PLUGIN_ROOT . 'functions/cart.php';
105 95 require_once DISCO_PLUGIN_ROOT . 'functions/product.php';
106 96 require_once DISCO_PLUGIN_ROOT . 'functions/order.php';
107 97 require_once DISCO_PLUGIN_ROOT . 'functions/shipping.php';
108 - require_once DISCO_PLUGIN_ROOT . 'functions/bogo.php';
109 - require_once DISCO_PLUGIN_ROOT . 'functions/coupon.php';
110 - require_once DISCO_PLUGIN_ROOT . 'functions/compatibility.php';
111 98 });
112 99
113 100
114 101 $requirements = new Requirements(
@@ -153,23 +140,5 @@
153 140 static function () use ( $disco_libraries ) {
154 141 new Initialize( $disco_libraries );
155 142 }
156 143 );
157 -
158 - require_once __DIR__ . '/libs/WebAppick/Classes/DiscoWebAppickAPI.php';
159 - require_once __DIR__ . '/libs/ActiveCampaign/ActiveCampaign.php';
160 -
161 - add_action(
162 - 'init', function() {
163 - DiscoWebAppickAPI::getInstance();
164 - }
165 - );
166 -
167 144 }
168 -
169 -//Add custom link to plugin row meta
170 -//add_filter('plugin_row_meta', function ( $links, $file ) {
171 -// if ($file == plugin_basename(__FILE__)) {
172 -// $links[] = '<a href="https://discoplugin.com/pricing/?utm_source=update&utm_medium=wp_free&utm_campaign=release-update" target="_blank" class="disco-custom-meta-link"><span >🎃 Halloween Special – 30% OFF</span></a>';
173 -// }
174 -// return $links;
175 -//}, 10, 2);