Abandoned Cart Lite for WooCommerce - Version 5.8.5

Version Description

(27.01.2021) = * Tweak - Added a hook to modify the email to which recovery emails are sent. Comma separated email addresses can be added.

Download this release

Release Info

Developer tychesoftwares
Plugin Icon 128x128 Abandoned Cart Lite for WooCommerce
Version 5.8.5
Comparing to
See all releases

Code changes from version 5.8.4 to 5.8.5

class-wcal-update.php CHANGED
@@ -27,7 +27,7 @@ if ( ! class_exists( 'Wcal_Update' ) ) {
27
  */
28
  public static function wcal_schedule_update_action() {
29
  // IMP: The default value for get option should be updated in each release to match the current version to ensure update code is not run for first time installs.
30
- if ( get_option( 'wcal_previous_version', '5.8.4' ) !== WCAL_PLUGIN_VERSION && function_exists( 'as_enqueue_async_action' ) && false === as_next_scheduled_action( 'wcal_update_db' ) ) {
31
  as_enqueue_async_action( 'wcal_update_db' );
32
  }
33
  }
@@ -90,7 +90,7 @@ if ( ! class_exists( 'Wcal_Update' ) ) {
90
  $wcal_previous_version = get_option( 'wcal_previous_version' );
91
 
92
  if ( wcal_common::wcal_get_version() !== $wcal_previous_version ) {
93
- update_option( 'wcal_previous_version', '5.8.4' );
94
  }
95
  } else { // multi site - child sites.
96
  $wcal_guest_user_id_altered = get_blog_option( $blog_id, 'wcal_guest_user_id_altered' );
@@ -103,7 +103,7 @@ if ( ! class_exists( 'Wcal_Update' ) ) {
103
  $wcal_previous_version = get_blog_option( $blog_id, 'wcal_previous_version' );
104
 
105
  if ( wcal_common::wcal_get_version() !== $wcal_previous_version ) {
106
- update_blog_option( $blog_id, 'wcal_previous_version', '5.8.4' );
107
  }
108
  }
109
 
27
  */
28
  public static function wcal_schedule_update_action() {
29
  // IMP: The default value for get option should be updated in each release to match the current version to ensure update code is not run for first time installs.
30
+ if ( get_option( 'wcal_previous_version', '5.8.5' ) !== WCAL_PLUGIN_VERSION && function_exists( 'as_enqueue_async_action' ) && false === as_next_scheduled_action( 'wcal_update_db' ) ) {
31
  as_enqueue_async_action( 'wcal_update_db' );
32
  }
33
  }
90
  $wcal_previous_version = get_option( 'wcal_previous_version' );
91
 
92
  if ( wcal_common::wcal_get_version() !== $wcal_previous_version ) {
93
+ update_option( 'wcal_previous_version', '5.8.5' );
94
  }
95
  } else { // multi site - child sites.
96
  $wcal_guest_user_id_altered = get_blog_option( $blog_id, 'wcal_guest_user_id_altered' );
103
  $wcal_previous_version = get_blog_option( $blog_id, 'wcal_previous_version' );
104
 
105
  if ( wcal_common::wcal_get_version() !== $wcal_previous_version ) {
106
+ update_blog_option( $blog_id, 'wcal_previous_version', '5.8.5' );
107
  }
108
  }
109
 
includes/frontend/class-wcal-checkout-process.php CHANGED
@@ -330,6 +330,7 @@ if ( ! class_exists( 'Wcal_Checkout_Process' ) ) {
330
  $user_email = get_option( 'admin_email' );
331
  $headers[] = 'From: Admin <' . $user_email . '>';
332
  $headers[] = 'Content-Type: text/html';
 
333
  // Buffer.
334
  ob_start();
335
  // Get mail template.
330
  $user_email = get_option( 'admin_email' );
331
  $headers[] = 'From: Admin <' . $user_email . '>';
332
  $headers[] = 'Content-Type: text/html';
333
+ $user_email = apply_filters( 'wcal_send_recovery_email_to', $user_email );
334
  // Buffer.
335
  ob_start();
336
  // Get mail template.
readme.txt CHANGED
@@ -223,6 +223,9 @@ The admin can use the merge code `{{cart.unsubscribe}}' in the email templates.
223
 
224
  == Changelog ==
225
 
 
 
 
226
  = 5.8.4 (07.01.2021) =
227
  * Fix - Default template is not being created for a fresh installation.
228
  * Fix - Stats on the plugin dashboard do not match the Abandoned Orders tab.
223
 
224
  == Changelog ==
225
 
226
+ = 5.8.5 (27.01.2021) =
227
+ * Tweak - Added a hook to modify the email to which recovery emails are sent. Comma separated email addresses can be added.
228
+
229
  = 5.8.4 (07.01.2021) =
230
  * Fix - Default template is not being created for a fresh installation.
231
  * Fix - Stats on the plugin dashboard do not match the Abandoned Orders tab.
woocommerce-ac.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: Abandoned Cart Lite for WooCommerce
4
  * Plugin URI: http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro
5
  * Description: This plugin captures abandoned carts by logged-in users & emails them about it. <strong><a href="http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro">Click here to get the PRO Version.</a></strong>
6
- * Version: 5.8.4
7
  * Author: Tyche Softwares
8
  * Author URI: http://www.tychesoftwares.com/
9
  * Text Domain: woocommerce-abandoned-cart
10
  * Domain Path: /i18n/languages/
11
  * Requires PHP: 5.6
12
  * WC requires at least: 3.0.0
13
- * WC tested up to: 4.8.0
14
  *
15
  * @package Abandoned-Cart-Lite-for-WooCommerce
16
  */
@@ -118,7 +118,7 @@ if ( ! class_exists( 'woocommerce_abandon_cart_lite' ) ) {
118
  }
119
 
120
  if ( ! defined( 'WCAL_PLUGIN_VERSION' ) ) {
121
- define( 'WCAL_PLUGIN_VERSION', '5.8.4' );
122
  }
123
  $this->one_hour = 60 * 60;
124
  $this->three_hours = 3 * $this->one_hour;
3
  * Plugin Name: Abandoned Cart Lite for WooCommerce
4
  * Plugin URI: http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro
5
  * Description: This plugin captures abandoned carts by logged-in users & emails them about it. <strong><a href="http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro">Click here to get the PRO Version.</a></strong>
6
+ * Version: 5.8.5
7
  * Author: Tyche Softwares
8
  * Author URI: http://www.tychesoftwares.com/
9
  * Text Domain: woocommerce-abandoned-cart
10
  * Domain Path: /i18n/languages/
11
  * Requires PHP: 5.6
12
  * WC requires at least: 3.0.0
13
+ * WC tested up to: 4.9.1
14
  *
15
  * @package Abandoned-Cart-Lite-for-WooCommerce
16
  */
118
  }
119
 
120
  if ( ! defined( 'WCAL_PLUGIN_VERSION' ) ) {
121
+ define( 'WCAL_PLUGIN_VERSION', '5.8.5' );
122
  }
123
  $this->one_hour = 60 * 60;
124
  $this->three_hours = 3 * $this->one_hour;