Version Description
- Remove: Retry Payment Preview Generate until more testing can be done or consulting with the plugin authors. Currently will only preview with orders that are actively in the Retrying payment phase.
Download this release
Release Info
Developer | britner |
Plugin | Kadence WooCommerce Email Designer |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
includes/class-kadence-woomail-preview.php
CHANGED
@@ -443,17 +443,17 @@ if ( ! class_exists( 'Kadence_Woomail_Preview' ) ) {
|
|
443 |
// Other properties.
|
444 |
$email->recipient = $email->object->get_billing_email();
|
445 |
if ( ! empty( $preview_id ) && 'mockup' != $preview_id ) {
|
446 |
-
|
447 |
-
|
448 |
-
$
|
449 |
-
|
450 |
-
|
|
|
|
|
|
|
|
|
451 |
} else {
|
452 |
-
$email->
|
453 |
-
array(
|
454 |
-
'order_id' => $preview_id,
|
455 |
-
)
|
456 |
-
);
|
457 |
}
|
458 |
} else {
|
459 |
$email->object = 'retry';
|
443 |
// Other properties.
|
444 |
$email->recipient = $email->object->get_billing_email();
|
445 |
if ( ! empty( $preview_id ) && 'mockup' != $preview_id ) {
|
446 |
+
if ( WCS_Retry_Manager::is_retry_enabled() ) {
|
447 |
+
$retry = WCS_Retry_Manager::store()->get_last_retry_for_order( $preview_id );
|
448 |
+
if ( ! empty( $retry ) && is_object( $retry ) ) {
|
449 |
+
$email->retry = $retry;
|
450 |
+
$email->find['retry_time'] = '{retry_time}';
|
451 |
+
$email->replace['retry_time'] = wcs_get_human_time_diff( $email->retry->get_time() );
|
452 |
+
} else {
|
453 |
+
$email->object = 'retry';
|
454 |
+
}
|
455 |
} else {
|
456 |
+
$email->object = 'retry';
|
|
|
|
|
|
|
|
|
457 |
}
|
458 |
} else {
|
459 |
$email->object = 'retry';
|
kadence-woocommerce-email-designer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Kadence WooCommerce Email Designer
|
4 |
* Plugin URI: http://kadencethemes.com/products/woocommerce-email-designer/
|
5 |
* Description: Customize the default woocommerce email templates design and text through the native WordPress customizer. Preview emails and send test emails.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: Kadence Themes
|
8 |
* Author URI: http://kadencethemes.com/
|
9 |
* License: GPLv2 or later
|
@@ -59,7 +59,7 @@ class Kadence_Woomail_Designer {
|
|
59 |
|
60 |
define( 'KT_WOOMAIL_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
|
61 |
define( 'KT_WOOMAIL_URL', plugin_dir_url( __FILE__ ) );
|
62 |
-
define( 'KT_WOOMAIL_VERSION', '1.3.
|
63 |
|
64 |
if ( ! kadence_woomail_is_woo_active() ) {
|
65 |
add_action( 'admin_notices', array( $this, 'admin_notice_need_woocommerce' ) );
|
3 |
* Plugin Name: Kadence WooCommerce Email Designer
|
4 |
* Plugin URI: http://kadencethemes.com/products/woocommerce-email-designer/
|
5 |
* Description: Customize the default woocommerce email templates design and text through the native WordPress customizer. Preview emails and send test emails.
|
6 |
+
* Version: 1.3.3
|
7 |
* Author: Kadence Themes
|
8 |
* Author URI: http://kadencethemes.com/
|
9 |
* License: GPLv2 or later
|
59 |
|
60 |
define( 'KT_WOOMAIL_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
|
61 |
define( 'KT_WOOMAIL_URL', plugin_dir_url( __FILE__ ) );
|
62 |
+
define( 'KT_WOOMAIL_VERSION', '1.3.3' );
|
63 |
|
64 |
if ( ! kadence_woomail_is_woo_active() ) {
|
65 |
add_action( 'admin_notices', array( $this, 'admin_notice_need_woocommerce' ) );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.kadencethemes.com/about-us/
|
|
5 |
Requires PHP: 5.2.4
|
6 |
Requires at least: 4.4
|
7 |
Tested up to: 5.2.2
|
8 |
-
Stable tag: 1.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -60,6 +60,9 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
|
|
|
|
|
|
63 |
= 1.3.2 =
|
64 |
* Fix: Language string for account button.
|
65 |
* Add: Option to remove account link in welcome email.
|
5 |
Requires PHP: 5.2.4
|
6 |
Requires at least: 4.4
|
7 |
Tested up to: 5.2.2
|
8 |
+
Stable tag: 1.3.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
60 |
|
61 |
== Changelog ==
|
62 |
|
63 |
+
= 1.3.3 =
|
64 |
+
* Remove: Retry Payment Preview Generate until more testing can be done or consulting with the plugin authors. Currently will only preview with orders that are actively in the Retrying payment phase.
|
65 |
+
|
66 |
= 1.3.2 =
|
67 |
* Fix: Language string for account button.
|
68 |
* Add: Option to remove account link in welcome email.
|