From d1dd075090e2049f1fb3c5725a51c0756ded2828 Mon Sep 17 00:00:00 2001 From: mutendebrian Date: Mon, 7 Dec 2020 11:47:13 +0300 Subject: [PATCH] 1.3.9 release changes --- includes/integrations/class-noptin-woocommerce.php | 2 +- noptin.php | 4 ++-- readme.txt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/integrations/class-noptin-woocommerce.php b/includes/integrations/class-noptin-woocommerce.php index d80ae3fb..989cc6a6 100644 --- a/includes/integrations/class-noptin-woocommerce.php +++ b/includes/integrations/class-noptin-woocommerce.php @@ -118,7 +118,7 @@ public function checkbox_positions() { * * @param WC_Order $order */ - public function save_woocommerce_checkout_checkbox_value( &$order ) { + public function save_woocommerce_checkout_checkbox_value( $order ) { if ( $this->checkbox_was_checked() ) { $order->update_meta_data( 'noptin_opted_in', 1 ); } diff --git a/noptin.php b/noptin.php index 45c1fa32..4fc527d7 100644 --- a/noptin.php +++ b/noptin.php @@ -11,7 +11,7 @@ * Description: A very fast and lightweight WordPress newsletter plugin * Author: Noptin Newsletter * Author URI: https://github.com/picocodes - * Version: 1.3.7 + * Version: 1.3.9 * Text Domain: newsletter-optin-box * License: GPLv3 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt @@ -47,7 +47,7 @@ class Noptin { * @var string Plugin version * @since 1.0.0 */ - public $version = '1.3.7'; + public $version = '1.3.9'; /** * The current database version. diff --git a/readme.txt b/readme.txt index ceca789f..e47ace19 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: newsletter, email newsletter form, email opt-in, email popup, newsletter w Requires at least: 4.9 Tested up to: 5.5 Requires PHP: 5.3 -Version: 1.3.7 +Version: 1.3.9 Stable tag: trunk License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -138,7 +138,7 @@ Yeah. Your newsletter subscription forms will take your theme's default styling. == Changelog == -= 1.3.9 - 2020-12-08 = += 1.3.9 - 2020-12-07 = - Fix WooCommerce checkout not adding new customers to the newsletter. - Add a nofollow attribute to newsletter unsubscribe links (@shawnkhall). - Add newsletter unsubscribe email headers (@shawnkhall).