Google Apps Login - Version 2.8.16

Version Description

Updated to work correctly alongside some plugins that change the login URL from /wp-login.php to something else.

Download this release

Release Info

Developer danlester
Plugin Icon 128x128 Google Apps Login
Version 2.8.16
Comparing to
See all releases

Code changes from version 2.8.15 to 2.8.16

core/core_google_apps_login.php CHANGED
@@ -421,7 +421,7 @@ class core_google_apps_login {
421
  }
422
 
423
  public function ga_init() {
424
- if ($GLOBALS['pagenow'] == 'wp-login.php') {
425
  setcookie(self::$gal_cookie_name, $this->get_cookie_value(), time()+36000, '/', defined(COOKIE_DOMAIN) ? COOKIE_DOMAIN : '' );
426
  }
427
  }
421
  }
422
 
423
  public function ga_init() {
424
+ if (!isset($_COOKIE[self::$gal_cookie_name])) {
425
  setcookie(self::$gal_cookie_name, $this->get_cookie_value(), time()+36000, '/', defined(COOKIE_DOMAIN) ? COOKIE_DOMAIN : '' );
426
  }
427
  }
google_apps_login.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Google Apps Login
5
  * Plugin URI: http://wp-glogin.com/
6
  * Description: Simple secure login for Wordpress through users' Google Apps accounts (uses secure OAuth2, and MFA if enabled)
7
- * Version: 2.8.15
8
  * Author: Dan Lester
9
  * Author URI: http://wp-glogin.com/
10
  * License: GPL3
@@ -17,7 +17,7 @@ require_once( plugin_dir_path(__FILE__).'/core/core_google_apps_login.php' );
17
 
18
  class basic_google_apps_login extends core_google_apps_login {
19
 
20
- protected $PLUGIN_VERSION = '2.8.15';
21
 
22
  // Singleton
23
  private static $instance = null;
4
  * Plugin Name: Google Apps Login
5
  * Plugin URI: http://wp-glogin.com/
6
  * Description: Simple secure login for Wordpress through users' Google Apps accounts (uses secure OAuth2, and MFA if enabled)
7
+ * Version: 2.8.16
8
  * Author: Dan Lester
9
  * Author URI: http://wp-glogin.com/
10
  * License: GPL3
17
 
18
  class basic_google_apps_login extends core_google_apps_login {
19
 
20
+ protected $PLUGIN_VERSION = '2.8.16';
21
 
22
  // Singleton
23
  private static $instance = null;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: danlester
3
  Tags: login, google, authentication, oauth2, oauth, google login, google apps, sso, single-sign-on, auth, intranet
4
  Requires at least: 3.7
5
  Tested up to: 4.4
6
- Stable tag: 2.8.15
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -196,7 +196,7 @@ your emails and other data.
196
  = What are the system requirements? =
197
 
198
  * PHP 5.2.x or higher with JSON extensions
199
- * Wordpress 3.3 or above
200
 
201
  And you will need a Google account to set up the plugin.
202
 
@@ -226,6 +226,10 @@ please [click here](http://wp-glogin.com/installing-google-apps-login/basic-setu
226
 
227
  == Changelog ==
228
 
 
 
 
 
229
  = 2.8.15 =
230
 
231
  Removed a WordPress function that is deprecated in WP 4.4 - force_ssl_login
3
  Tags: login, google, authentication, oauth2, oauth, google login, google apps, sso, single-sign-on, auth, intranet
4
  Requires at least: 3.7
5
  Tested up to: 4.4
6
+ Stable tag: 2.8.16
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
196
  = What are the system requirements? =
197
 
198
  * PHP 5.2.x or higher with JSON extensions
199
+ * Wordpress 3.5 or above
200
 
201
  And you will need a Google account to set up the plugin.
202
 
226
 
227
  == Changelog ==
228
 
229
+ = 2.8.16 =
230
+
231
+ Updated to work correctly alongside some plugins that change the login URL from /wp-login.php to something else.
232
+
233
  = 2.8.15 =
234
 
235
  Removed a WordPress function that is deprecated in WP 4.4 - force_ssl_login