diff --git a/README.txt b/README.txt index 4eb1de1..8cf4ac2 100644 --- a/README.txt +++ b/README.txt @@ -2,8 +2,8 @@ Contributors: deviodigital Tags: delivery, delivery-times, courier, woocommerce, order-delivery Requires at least: 3.0.1 -Tested up to: 5.6 -Stable tag: 1.6.1 +Tested up to: 5.6.2 +Stable tag: 1.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -63,6 +63,20 @@ Learn more at [Delivery Fees for WooCommerce](https://www.wordpress.org/plugins/ == Changelog == += 1.7 = +* Added delivery time checkout page placement setting in `admin/dtwc-admin-settings.php` +* Added a remove delivery time from customer email setting in `admin/dtwc-admin-settings.php` +* Added 'dtwc_delivery_time_checkout_display' helper function in `admin/dtwc-helper-functions.php` +* Added 'dtwc_remove_delivery_time_from_emails' helper function in `admin/dtwc-helper-functions.php` +* Updated checkout fields to use the new display placement setting in `admin/dtwc-woocommerce-checkout.php` +* Updated email fields to only get added if removal setting is `off` in `admin/dtwc-woocommerce-checkout.php` +* Updated delivery date/time checks before adding to email data in `admin/dtwc-woocommerce-checkout.php` +* Updated 'delivery time' email field to use label helper function in `admin/dtwc-woocommerce-checkout.php` +* Updated text strings for localization in `languages/delivery-times-for-woocommerce.pot` +* Updated text strings for localization in `languages/delivery-times-for-woocommerce-es_ES.pot` +* Updated text strings for localization in `languages/delivery-times-for-woocommerce-fr_FR.pot` +* Updated text strings for localization in `languages/delivery-times-for-woocommerce-it_IT.pot` + = 1.6.1 = * Updated admin settings class to load on `init` for translations to take effect in `admin/dtwc-admin-settings.php` * General code cleanup throughout multiple files diff --git a/delivery-times-for-woocommerce.php b/delivery-times-for-woocommerce.php index 14d9a44..61cefe5 100644 --- a/delivery-times-for-woocommerce.php +++ b/delivery-times-for-woocommerce.php @@ -11,7 +11,7 @@ * Plugin Name: Delivery Times for WooCommerce * Plugin URI: https://deviodigital.com/how-to-use-the-delivery-times-for-woocommerce-plugin/ * Description: Allow your customers to choose their desired delivery date and time during checkout with WooCommerce - * Version: 1.6.1 + * Version: 1.7 * Author: Devio Digital * Author URI: https://www.deviodigital.com/ * License: GPL-2.0+ @@ -19,7 +19,7 @@ * Text Domain: delivery-times-for-woocommerce * Domain Path: /languages * WC requires at least: 3.5.0 - * WC tested up to: 4.9.0 + * WC tested up to: 5.0 */ // If this file is called directly, abort. @@ -30,7 +30,7 @@ /** * Current plugin version. */ -define( 'DTWC_VERSION', '1.6.1' ); +define( 'DTWC_VERSION', '1.7' ); /** * The code that runs during plugin activation. diff --git a/includes/class-dtwc.php b/includes/class-dtwc.php index 08f2e75..7f21f2e 100644 --- a/includes/class-dtwc.php +++ b/includes/class-dtwc.php @@ -68,7 +68,7 @@ class DTWC { */ public function __construct() { $this->plugin_name = 'delivery-times-for-woocommerce'; - $this->version = '1.6.1'; + $this->version = '1.7'; if ( defined( 'DTWC_VERSION' ) ) { $this->version = DTWC_VERSION;