Google Authenticator - Version 0.54

Version Description

  • Fixed a bug in multisite.
Download this release

Release Info

Developer ivankk
Plugin Icon wp plugin Google Authenticator
Version 0.54
Comparing to
See all releases

Code changes from version 0.53 to 0.54

Files changed (2) hide show
  1. google-authenticator.php +3 -3
  2. readme.txt +7 -2
google-authenticator.php CHANGED
@@ -4,9 +4,9 @@ Plugin Name: Google Authenticator
4
  Plugin URI: https://github.com/ivankruchkoff/google-authenticator
5
  Description: Two-Factor Authentication for WordPress using the Android/iPhone/Blackberry app as One Time Password generator.
6
  Author: Ivan Kruchkoff
7
- Version: 0.53
8
  Author URI: https://github.com/ivankruchkoff
9
- Compatibility: WordPress 5.9
10
  Text Domain: google-authenticator
11
  Domain Path: /lang
12
 
@@ -708,7 +708,7 @@ function profile_personal_options( $args = array() ) {
708
  if ( '' == $GA_description ) {
709
  // Super admins and users with accounts on more than one site get the network name as the helpful name,
710
  // everyone else gets the site that they're on
711
- if ( is_multisite() && ( 1 < count( get_blogs_of_user( $user_id ) || is_super_admin() ) ) ) {
712
  $GA_description = sanitize_text_field( get_blog_details( get_network()->id )->blogname );
713
  } else {
714
  $GA_description = sanitize_text_field( get_bloginfo( 'name' ) );
4
  Plugin URI: https://github.com/ivankruchkoff/google-authenticator
5
  Description: Two-Factor Authentication for WordPress using the Android/iPhone/Blackberry app as One Time Password generator.
6
  Author: Ivan Kruchkoff
7
+ Version: 0.54
8
  Author URI: https://github.com/ivankruchkoff
9
+ Compatibility: WordPress 5.6
10
  Text Domain: google-authenticator
11
  Domain Path: /lang
12
 
708
  if ( '' == $GA_description ) {
709
  // Super admins and users with accounts on more than one site get the network name as the helpful name,
710
  // everyone else gets the site that they're on
711
+ if ( is_multisite() && ( 1 < count( get_blogs_of_user( $user_id ) ) || is_super_admin() ) ) {
712
  $GA_description = sanitize_text_field( get_blog_details( get_network()->id )->blogname );
713
  } else {
714
  $GA_description = sanitize_text_field( get_bloginfo( 'name' ) );
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: ivankk
3
  Tags: authentication,otp,password,security,login,android,iphone,blackberry
4
  Requires at least: 4.5
5
- Tested up to: 5.9
6
- Stable tag: 0.53
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -80,6 +80,9 @@ please remember to remove the "Check credentials on all login attempts" checkmar
80
  4. Google Authenticator app on Android
81
 
82
  == Changelog ==
 
 
 
83
  = 0.53 =
84
  * Add a Polish translation
85
 
@@ -172,6 +175,8 @@ please remember to remove the "Check credentials on all login attempts" checkmar
172
 
173
  Thanks to:
174
 
 
 
175
  [Paweł Nowacki](https://github.com/pancek) for the Polish translation
176
 
177
  [Fabio Zumbi](https://github.com/FabioZumbi12) for the Portuguese translation
2
  Contributors: ivankk
3
  Tags: authentication,otp,password,security,login,android,iphone,blackberry
4
  Requires at least: 4.5
5
+ Tested up to: 6.0
6
+ Stable tag: 0.54
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
80
  4. Google Authenticator app on Android
81
 
82
  == Changelog ==
83
+ = 0.54 =
84
+ * Fixed a bug in multisite.
85
+
86
  = 0.53 =
87
  * Add a Polish translation
88
 
175
 
176
  Thanks to:
177
 
178
+ [Oleksiy](https://profiles.wordpress.org/evinak/) for a bugfix in multisite.
179
+
180
  [Paweł Nowacki](https://github.com/pancek) for the Polish translation
181
 
182
  [Fabio Zumbi](https://github.com/FabioZumbi12) for the Portuguese translation