Kadence WooCommerce Email Designer - Version 1.5.1

Version Description

  • Update: Prevent an error if using old woocommerce.
Download this release

Release Info

Developer britner
Plugin Icon 128x128 Kadence WooCommerce Email Designer
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

kadence-woocommerce-email-designer.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Kadence WooCommerce Email Designer
4
  * Plugin URI: http://kadencewp.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.5.0
7
  * Author: Kadence WP
8
  * Author URI: http://kadencewp.com/
9
  * License: GPLv2 or later
10
  * Text Domain: kadence-woocommerce-email-designer
11
- * WC requires at least: 4.2.0
12
- * WC tested up to: 6.0.0
13
  *
14
  * @package Kadence Woocommerce Email Designer
15
  */
3
  * Plugin Name: Kadence WooCommerce Email Designer
4
  * Plugin URI: http://kadencewp.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.5.1
7
  * Author: Kadence WP
8
  * Author URI: http://kadencewp.com/
9
  * License: GPLv2 or later
10
  * Text Domain: kadence-woocommerce-email-designer
11
+ * WC requires at least: 5.6.0
12
+ * WC tested up to: 6.4.0
13
  *
14
  * @package Kadence Woocommerce Email Designer
15
  */
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.kadencewp.com/about-us/
5
  Requires PHP: 5.2.4
6
  Requires at least: 5.0
7
  Tested up to: 5.9
8
- Stable tag: 1.5.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -81,6 +81,9 @@ After you create your translations make sure to clear your server cache from any
81
 
82
  == Changelog ==
83
 
 
 
 
84
  = 1.5.0 =
85
  * Update: Add in Shipping Phone.
86
  * Update: Pot file.
5
  Requires PHP: 5.2.4
6
  Requires at least: 5.0
7
  Tested up to: 5.9
8
+ Stable tag: 1.5.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
81
 
82
  == Changelog ==
83
 
84
+ = 1.5.1 =
85
+ * Update: Prevent an error if using old woocommerce.
86
+
87
  = 1.5.0 =
88
  * Update: Add in Shipping Phone.
89
  * Update: Pot file.
templates/woo/emails/email-addresses.php CHANGED
@@ -72,7 +72,7 @@ if ( true == $responsive_check ) {
72
  <tr>
73
  <td class="address-td" valign="top">
74
  <?php echo wp_kses_post( $shipping ); ?>
75
- <?php if ( $order->get_shipping_phone() ) : ?>
76
  <br /><?php echo wc_make_phone_clickable( $order->get_shipping_phone() ); ?>
77
  <?php endif; ?>
78
  </td>
@@ -122,7 +122,7 @@ if ( true == $responsive_check ) {
122
  <tr>
123
  <td class="address-td" valign="top">
124
  <?php echo wp_kses_post( $shipping ); ?>
125
- <?php if ( $order->get_shipping_phone() ) : ?>
126
  <br /><?php echo wc_make_phone_clickable( $order->get_shipping_phone() ); ?>
127
  <?php endif; ?>
128
  </td>
72
  <tr>
73
  <td class="address-td" valign="top">
74
  <?php echo wp_kses_post( $shipping ); ?>
75
+ <?php if ( method_exists( $order, 'get_shipping_phone' ) && $order->get_shipping_phone() ) : ?>
76
  <br /><?php echo wc_make_phone_clickable( $order->get_shipping_phone() ); ?>
77
  <?php endif; ?>
78
  </td>
122
  <tr>
123
  <td class="address-td" valign="top">
124
  <?php echo wp_kses_post( $shipping ); ?>
125
+ <?php if ( method_exists( $order, 'get_shipping_phone' ) && $order->get_shipping_phone() ) : ?>
126
  <br /><?php echo wc_make_phone_clickable( $order->get_shipping_phone() ); ?>
127
  <?php endif; ?>
128
  </td>