Skip to content

Commit

Permalink
2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Jul 11, 2024
1 parent fb14731 commit 7101e59
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions bh-wp-autologin-urls.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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__ ) );

/**
Expand Down
2 changes: 1 addition & 1 deletion src/api/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

/**
Expand Down

0 comments on commit 7101e59

Please sign in to comment.