Social Login - Version 7.0.1

Version Description

  • Minor bug fixes.
Download this release

Release Info

Developer cyberlord92
Plugin Icon 128x128 Social Login
Version 7.0.1
Comparing to
See all releases

Code changes from version 7.0.0 to 7.0.1

class-mo-openid-login-widget.php CHANGED
@@ -1099,7 +1099,7 @@ if(mo_openid_is_customer_registered()) {
1099
  //$username = strtolower(str_replace(" ","",$username));
1100
 
1101
  global $wpdb;
1102
- if(empty($decrypted_email)){
1103
  $email_user_id = NULL;
1104
  }
1105
  else {
@@ -1188,7 +1188,7 @@ if(mo_openid_is_customer_registered()) {
1188
  global $wpdb;
1189
  $db_prefix = $wpdb->prefix;
1190
  $email_user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = %s",$user_email));
1191
- if(empty($decrypted_email)){
1192
  $existing_email_user_id = NULL;
1193
  }
1194
  else {
@@ -1851,7 +1851,7 @@ if(mo_openid_is_customer_registered()) {
1851
  global $wpdb;
1852
  $db_prefix = $wpdb->prefix;
1853
  $id_returning_user = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$social_app_name,$social_user_id));
1854
- if(empty($decrypted_email)){
1855
  $email_user_id = NULL;
1856
  }
1857
  else {
@@ -1986,7 +1986,7 @@ if(mo_openid_is_customer_registered()) {
1986
  $linked_email_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$social_app_name,$social_user_id));
1987
 
1988
  $email_user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = \"%s\"",$user_email));
1989
- if(empty($decrypted_email)){
1990
  $existing_email_user_id = NULL;
1991
  }
1992
  else {
1099
  //$username = strtolower(str_replace(" ","",$username));
1100
 
1101
  global $wpdb;
1102
+ if(empty($user_email)){
1103
  $email_user_id = NULL;
1104
  }
1105
  else {
1188
  global $wpdb;
1189
  $db_prefix = $wpdb->prefix;
1190
  $email_user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = %s",$user_email));
1191
+ if(empty($user_email)){
1192
  $existing_email_user_id = NULL;
1193
  }
1194
  else {
1851
  global $wpdb;
1852
  $db_prefix = $wpdb->prefix;
1853
  $id_returning_user = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$social_app_name,$social_user_id));
1854
+ if(empty($email)){
1855
  $email_user_id = NULL;
1856
  }
1857
  else {
1986
  $linked_email_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$social_app_name,$social_user_id));
1987
 
1988
  $email_user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = \"%s\"",$user_email));
1989
+ if(empty($user_email)){
1990
  $existing_email_user_id = NULL;
1991
  }
1992
  else {
miniorange_openid_sso_settings.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Social Login, Social Sharing by miniOrange
4
  * Plugin URI: https://www.miniorange.com
5
  * Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
6
- * Version: 7.0.0
7
  * Author: miniOrange
8
  * Author URI: https://www.miniorange.com
9
  * License: GPL2
@@ -14,7 +14,7 @@ include_once dirname( __FILE__ ) . '/class-mo-openid-login-widget.php';
14
  require('class-mo-openid-sso-customer.php');
15
  require('class-mo-openid-sso-shortcode-buttons.php');
16
  require('class-mo-openid-social-comment.php');
17
- define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.0.0');
18
  include dirname( __FILE__ ) . '/mo_openid_feedback_form.php';
19
  class Miniorange_OpenID_SSO {
20
 
@@ -542,7 +542,7 @@ class Miniorange_OpenID_SSO {
542
  }
543
 
544
  function mo_login_widget_openid_options() {
545
- global $wpdb;
546
  mo_register_openid();
547
  }
548
 
3
  * Plugin Name: Social Login, Social Sharing by miniOrange
4
  * Plugin URI: https://www.miniorange.com
5
  * Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
6
+ * Version: 7.0.1
7
  * Author: miniOrange
8
  * Author URI: https://www.miniorange.com
9
  * License: GPL2
14
  require('class-mo-openid-sso-customer.php');
15
  require('class-mo-openid-sso-shortcode-buttons.php');
16
  require('class-mo-openid-social-comment.php');
17
+ define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.0.1');
18
  include dirname( __FILE__ ) . '/mo_openid_feedback_form.php';
19
  class Miniorange_OpenID_SSO {
20
 
542
  }
543
 
544
  function mo_login_widget_openid_options() {
545
+ update_option( 'mo_openid_host_name', 'https://auth.miniorange.com' );
546
  mo_register_openid();
547
  }
548
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.miniorange.com
4
  Tags: social login, social, facebook, twitter, google, login, facebook login, google login, google, twitter login, social connect, social network login, social plugin, Vkontakte, LinkedIn
5
  Requires at least: 2.0.2
6
  Tested up to: 4.9.7
7
- Stable tag: 7.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -166,6 +166,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
166
 
167
 
168
  == Changelog ==
 
 
 
169
  = 7.0.0 =
170
  * Minor bug fixes.
171
  * Increased resolution of Facebook profile picture.
@@ -552,6 +555,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
552
  * First version of Social Login, Social Sharing plugin.
553
 
554
  == Upgrade Notice ==
 
 
 
555
  = 7.0.0 =
556
  * Minor bug fixes.
557
  * Increased resolution of Facebook profile picture.
4
  Tags: social login, social, facebook, twitter, google, login, facebook login, google login, google, twitter login, social connect, social network login, social plugin, Vkontakte, LinkedIn
5
  Requires at least: 2.0.2
6
  Tested up to: 4.9.7
7
+ Stable tag: 7.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
166
 
167
 
168
  == Changelog ==
169
+ = 7.0.1 =
170
+ * Minor bug fixes.
171
+
172
  = 7.0.0 =
173
  * Minor bug fixes.
174
  * Increased resolution of Facebook profile picture.
555
  * First version of Social Login, Social Sharing plugin.
556
 
557
  == Upgrade Notice ==
558
+ = 7.0.1 =
559
+ * Minor bug fixes.
560
+
561
  = 7.0.0 =
562
  * Minor bug fixes.
563
  * Increased resolution of Facebook profile picture.