From 7101e592f68ecadd3a2a6e30fa5c72edbeabce65 Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Wed, 10 Jul 2024 19:06:33 -0700 Subject: [PATCH] 2.5.0 --- CHANGELOG.md | 6 ++++++ README.txt | 6 ++++++ bh-wp-autologin-urls.php | 6 +++--- src/api/class-settings.php | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80dd911..0e10d50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### 2.5.0 + +* Add filter `bh_wp_autologin_urls_get_wp_user` +* Add filter `bh_wp_autologin_urls_send_magic_link_email` +* Better handle `wp_mail` using an array of recipients + ### 2.4.2 * Fix: fatal error with User Switching plugin – firing `wp_login` too early diff --git a/README.txt b/README.txt index 17dbbe1..78bfd37 100755 --- a/README.txt +++ b/README.txt @@ -38,6 +38,12 @@ An API is available for developers to use autologin codes elsewhere in WordPress == Changelog == += 2.5.0 = + +* Add filter `bh_wp_autologin_urls_get_wp_user` +* Add filter `bh_wp_autologin_urls_send_magic_link_email` +* Better handle `wp_mail` using an array of recipients + = 2.4.2 = * Fix: fatal error with User Switching plugin – firing `wp_login` too early diff --git a/bh-wp-autologin-urls.php b/bh-wp-autologin-urls.php index e2d4064..da738c5 100755 --- a/bh-wp-autologin-urls.php +++ b/bh-wp-autologin-urls.php @@ -10,8 +10,8 @@ * 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.4.2 - * Tested up to: 6.4 + * Version: 2.5.0 + * Tested up to: 6.6 * Requires PHP: 7.4 * Author: BrianHenryIE * Author URI: https://BrianHenry.ie @@ -43,7 +43,7 @@ /** * Currently plugin version. */ -define( 'BH_WP_AUTOLOGIN_URLS_VERSION', '2.4.2' ); +define( 'BH_WP_AUTOLOGIN_URLS_VERSION', '2.5.0' ); define( 'BH_WP_AUTOLOGIN_URLS_BASENAME', plugin_basename( __FILE__ ) ); /** diff --git a/src/api/class-settings.php b/src/api/class-settings.php index ab0afcf..563b887 100644 --- a/src/api/class-settings.php +++ b/src/api/class-settings.php @@ -135,7 +135,7 @@ public function get_plugin_slug(): string { public function get_plugin_version(): string { return defined( 'BH_WP_AUTOLOGIN_URLS_VERSION' ) ? constant( 'BH_WP_AUTOLOGIN_URLS_VERSION' ) - : '2.4.2'; + : '2.5.0'; } /**