From 4f1e8883fae86f2deb2f592a87e9a78451855bde Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Mon, 22 May 2023 19:05:17 -0700 Subject: [PATCH] v2.1.1 --- CHANGELOG.md | 5 +++++ bh-wp-autologin-urls.php | 4 ++-- src/api/class-settings.php | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57b4a30..f73e858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### 2.1.1 + +* Fix: Default expiry time when omitted in CLI was parsing as 0 +* Add: Warning that logs may contain autologin codes + ### 2.1.0 * Add: CLI commands `wp autologin-urls get-url` and `wp autologin-urls send-magic-link` diff --git a/bh-wp-autologin-urls.php b/bh-wp-autologin-urls.php index 3e07175..f7ed021 100755 --- a/bh-wp-autologin-urls.php +++ b/bh-wp-autologin-urls.php @@ -10,7 +10,7 @@ * Plugin Name: Magic Emails & Autologin URLs * Plugin URI: https://wordpress.org/BrianHenryIE/bh-wp-autologin-urls * Description: Log in users via emails sent from WordPress. - * Version: 2.1.0 + * Version: 2.1.1 * Requires PHP: 7.4 * Author: BrianHenryIE * Author URI: https://BrianHenry.ie @@ -42,7 +42,7 @@ /** * Currently plugin version. */ -define( 'BH_WP_AUTOLOGIN_URLS_VERSION', '2.1.0' ); +define( 'BH_WP_AUTOLOGIN_URLS_VERSION', '2.1.1' ); define( 'BH_WP_AUTOLOGIN_URLS_BASENAME', plugin_basename( __FILE__ ) ); /** diff --git a/src/api/class-settings.php b/src/api/class-settings.php index 26f6478..a0b07f8 100644 --- a/src/api/class-settings.php +++ b/src/api/class-settings.php @@ -137,7 +137,7 @@ public function get_plugin_slug(): string { * @return string */ public function get_plugin_version(): string { - return defined( 'BH_WP_AUTOLOGIN_URLS_VERSION' ) ? BH_WP_AUTOLOGIN_URLS_VERSION : '2.1.0'; + return defined( 'BH_WP_AUTOLOGIN_URLS_VERSION' ) ? BH_WP_AUTOLOGIN_URLS_VERSION : '2.1.1'; } /**