Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: WordPress/two-factor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.0
Choose a base ref
...
head repository: WordPress/two-factor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8f73d27
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 27, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7d0ffeb View commit details
  2. Release 0.8.1 (#550)

    iandunn authored Mar 27, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8f73d27 View commit details
Showing with 5 additions and 5 deletions.
  1. +2 −2 class-two-factor-core.php
  2. +1 −1 readme.txt
  3. +2 −2 two-factor.php
4 changes: 2 additions & 2 deletions class-two-factor-core.php
Original file line number Diff line number Diff line change
@@ -666,7 +666,7 @@ public static function maybe_show_reset_password_notice( $errors ) {
if ( ! $attempted_user ) {
return $errors;
}

$password_was_reset = get_user_meta( $attempted_user->ID, self::USER_PASSWORD_WAS_RESET_KEY, true );

if ( ! $password_was_reset ) {
@@ -1323,7 +1323,7 @@ public static function notify_user_password_reset( $user ) {
esc_html( $user->user_login ),
home_url(),
'https://wordpress.org/documentation/article/password-best-practices/',
esc_url( add_query_arg( 'action', 'lostpassword', wp_login_url() ) ),
esc_url( add_query_arg( 'action', 'lostpassword', wp_login_url() ) )
);
$user_message = str_replace( "\t", '', $user_message );

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ Tags: two factor, two step, authentication, login, totp, fido u2f,
Requires at least: 4.3
Tested up to: 6.0
Requires PHP: 5.6
Stable tag: 0.8.0
Stable tag: 0.8.1

Enable Two-Factor Authentication using time-based one-time passwords (OTP, Google Authenticator), Universal 2nd Factor (FIDO U2F, YubiKey), email and backup verification codes.

4 changes: 2 additions & 2 deletions two-factor.php
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
* Plugin URI: https://wordpress.org/plugins/two-factor/
* Description: Two-Factor Authentication using time-based one-time passwords, Universal 2nd Factor (FIDO U2F), email and backup verification codes.
* Author: Plugin Contributors
* Version: 0.8.0
* Version: 0.8.1
* Author URI: https://github.com/wordpress/two-factor/graphs/contributors
* Network: True
* Text Domain: two-factor
@@ -26,7 +26,7 @@
/**
* Version of the plugin.
*/
define( 'TWO_FACTOR_VERSION', '0.8.0' );
define( 'TWO_FACTOR_VERSION', '0.8.1' );

/**
* Include the base class here, so that other plugins can also extend it.