Version Description
Removed a WordPress function that is deprecated in WP 4.4 - force_ssl_login This could have resulted in some visible warning messages.
Download this release
Release Info
Developer | danlester |
Plugin | Google Apps Login |
Version | 2.8.15 |
Comparing to | |
See all releases |
Code changes from version 2.8.14 to 2.8.15
- core/core_google_apps_login.php +2 -2
- google_apps_login.php +2 -2
- readme.txt +6 -1
core/core_google_apps_login.php
CHANGED
@@ -434,7 +434,7 @@ class core_google_apps_login {
|
|
434 |
$login_url = network_site_url('wp-login.php');
|
435 |
}
|
436 |
|
437 |
-
if (
|
438 |
$login_url = 'https://'.substr($login_url,7);
|
439 |
}
|
440 |
|
@@ -1087,7 +1087,7 @@ class core_google_apps_login {
|
|
1087 |
protected function calculate_instructions_url($refresh='n') {
|
1088 |
return add_query_arg(
|
1089 |
array( 'garedirect' => urlencode( $this->get_login_url() ),
|
1090 |
-
'gaorigin' => urlencode( (is_ssl() ||
|
1091 |
? 'https://' : 'http://').$_SERVER['HTTP_HOST'] ),
|
1092 |
'ganotms' => is_multisite() ? 'false' : 'true',
|
1093 |
'gar' => urlencode( $refresh ),
|
434 |
$login_url = network_site_url('wp-login.php');
|
435 |
}
|
436 |
|
437 |
+
if (force_ssl_admin() && strtolower(substr($login_url,0,7)) == 'http://') {
|
438 |
$login_url = 'https://'.substr($login_url,7);
|
439 |
}
|
440 |
|
1087 |
protected function calculate_instructions_url($refresh='n') {
|
1088 |
return add_query_arg(
|
1089 |
array( 'garedirect' => urlencode( $this->get_login_url() ),
|
1090 |
+
'gaorigin' => urlencode( (is_ssl() || force_ssl_admin()
|
1091 |
? 'https://' : 'http://').$_SERVER['HTTP_HOST'] ),
|
1092 |
'ganotms' => is_multisite() ? 'false' : 'true',
|
1093 |
'gar' => urlencode( $refresh ),
|
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.
|
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.
|
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.15
|
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.15';
|
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.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -226,6 +226,11 @@ please [click here](http://wp-glogin.com/installing-google-apps-login/basic-setu
|
|
226 |
|
227 |
== Changelog ==
|
228 |
|
|
|
|
|
|
|
|
|
|
|
229 |
= 2.8.14 =
|
230 |
|
231 |
Updated some URLs pointing to information about Premium/Enterprise upgrades.
|
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 |
|
226 |
|
227 |
== Changelog ==
|
228 |
|
229 |
+
= 2.8.15 =
|
230 |
+
|
231 |
+
Removed a WordPress function that is deprecated in WP 4.4 - force_ssl_login
|
232 |
+
This could have resulted in some visible warning messages.
|
233 |
+
|
234 |
= 2.8.14 =
|
235 |
|
236 |
Updated some URLs pointing to information about Premium/Enterprise upgrades.
|