Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed May 27, 2023
1 parent b2247d0 commit 7a6fa83
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### 2.2.0

* Add: configurable template for `user-edit.php` autologin URL
* Add: `user-edit.php` autologin URL click to copy to keyboard
* Fix: "Email Magic Link" on `wp-login.php` was disabled when Firefox autofilled the username
* Fix: JS for logs page were excluded from the plugin archive

### 2.1.1

* Fix: Default expiry time when omitted in CLI was parsing as 0
Expand Down
14 changes: 13 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: BrianHenryIE
Donate link: https://BrianHenry.ie
Tags: login, email, links, users, newsletter, notification, simple, wp_mail
Requires at least: 4.5.0
Tested up to: 6.2.0
Tested up to: 6.2
Requires PHP: 7.4
Stable tag: trunk
License: GPLv2 or later
Expand Down Expand Up @@ -38,6 +38,18 @@ An API is available for developers to use autologin codes elsewhere in WordPress

== Changelog ==

= 2.2.0 =

* Add: configurable template for `user-edit.php` autologin URL
* Add: `user-edit.php` autologin URL click to copy to keyboard
* Fix: "Email Magic Link" on `wp-login.php` was disabled when Firefox autofilled the username
* Fix: JS for logs page were excluded from the plugin archive

= 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`
Expand Down
4 changes: 2 additions & 2 deletions bh-wp-autologin-urls.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
* Version: 2.2.0
* Requires PHP: 7.4
* Author: BrianHenryIE
* Author URI: https://BrianHenry.ie
Expand Down Expand Up @@ -42,7 +42,7 @@
/**
* Currently plugin version.
*/
define( 'BH_WP_AUTOLOGIN_URLS_VERSION', '2.1.1' );
define( 'BH_WP_AUTOLOGIN_URLS_VERSION', '2.2.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 @@ -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.1';
return defined( 'BH_WP_AUTOLOGIN_URLS_VERSION' ) ? BH_WP_AUTOLOGIN_URLS_VERSION : '2.2.0';
}

/**
Expand Down

0 comments on commit 7a6fa83

Please sign in to comment.