WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer - Version 7.11.10

Version Description

  • [Improvement] Added filter to customize the redirection after social login
Download this release

Release Info

Developer the_champ
Plugin Icon 128x128 WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer
Version 7.11.10
Comparing to
See all releases

Code changes from version 7.11.9 to 7.11.10

Files changed (2) hide show
  1. readme.txt +8 -2
  2. super_socializer.php +11 -11
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.heateor.com/donate?action=Super+Socializer
4
  Tags: social login, social share, social commenting, social comments, social plugin, profile data, social analytics, online identity, social profile storage, single sign-on, social media follow, facebook login, Twitch login
5
  Requires at least: 2.5.0
6
  Tested up to: 4.9.5
7
- Stable tag: 7.11.9
8
  License: GPLv2 or later
9
 
10
  The unique Social Plugin to let you integrate Social Login, Social Share, Social Comments and Social Media follow at your website
@@ -209,6 +209,9 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
209
  8. **Social Commenting**: Disqus Commenting selected
210
 
211
  == Changelog ==
 
 
 
212
  = 7.11.9 =
213
  * [Bugfix] Steam login stopped working due to the endpoint related changes introduced by Steam
214
  * [Bugfix] Social Login was not working with Google ReCaptcha active
@@ -1511,4 +1514,7 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
1511
  * [Bugfix] Social Login was not working with Google ReCaptcha active
1512
  * [Bugfix] PHP warning was being generated at the login page in the HTML source if Copy Link icon was enabled
1513
  * [Improvement] Removed the Google+ Login scope from Google social login, as language and age of users are not required
1514
- * [Improvement] Removed 'authenticate' filter from social login
 
 
 
4
  Tags: social login, social share, social commenting, social comments, social plugin, profile data, social analytics, online identity, social profile storage, single sign-on, social media follow, facebook login, Twitch login
5
  Requires at least: 2.5.0
6
  Tested up to: 4.9.5
7
+ Stable tag: 7.11.10
8
  License: GPLv2 or later
9
 
10
  The unique Social Plugin to let you integrate Social Login, Social Share, Social Comments and Social Media follow at your website
209
  8. **Social Commenting**: Disqus Commenting selected
210
 
211
  == Changelog ==
212
+ = 7.11.10 =
213
+ * [Improvement] Added filter to customize the redirection after social login
214
+
215
  = 7.11.9 =
216
  * [Bugfix] Steam login stopped working due to the endpoint related changes introduced by Steam
217
  * [Bugfix] Social Login was not working with Google ReCaptcha active
1514
  * [Bugfix] Social Login was not working with Google ReCaptcha active
1515
  * [Bugfix] PHP warning was being generated at the login page in the HTML source if Copy Link icon was enabled
1516
  * [Improvement] Removed the Google+ Login scope from Google social login, as language and age of users are not required
1517
+ * [Improvement] Removed 'authenticate' filter from social login
1518
+
1519
+ = 7.11.10 =
1520
+ * [Improvement] Added filter to customize the redirection after social login
super_socializer.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Super Socializer
4
  Plugin URI: https://super-socializer-wordpress.heateor.com
5
  Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Media follow and more.
6
- Version: 7.11.9
7
  Author: Team Heateor
8
  Author URI: https://www.heateor.com
9
  Text Domain: super-socializer
@@ -11,7 +11,7 @@ Domain Path: /languages
11
  License: GPL2+
12
  */
13
  defined('ABSPATH') or die("Cheating........Uh!!");
14
- define('THE_CHAMP_SS_VERSION', '7.11.9');
15
 
16
  require 'helper.php';
17
 
@@ -797,6 +797,7 @@ function the_champ_get_login_redirection_url($twitterRedirect = '', $register =
797
  }else{
798
  $option = 'login';
799
  }
 
800
  if(isset($theChampLoginOptions[$option.'_redirection'])){
801
  if($theChampLoginOptions[$option.'_redirection'] == 'same'){
802
  $http = the_champ_get_http();
@@ -805,21 +806,20 @@ function the_champ_get_login_redirection_url($twitterRedirect = '', $register =
805
  }else{
806
  $url = html_entity_decode(esc_url($http.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]));
807
  }
808
- return the_champ_get_valid_url($url);
809
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'homepage'){
810
- return esc_url(home_url());
811
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'account'){
812
- return admin_url();
813
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'custom' && $theChampLoginOptions[$option.'_redirection_url'] != ''){
814
- return esc_url($theChampLoginOptions[$option.'_redirection_url']);
815
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'bp_profile' && $user_ID != 0){
816
- return function_exists('bp_core_get_user_domain') ? bp_core_get_user_domain($user_ID) : admin_url();
817
- }else{
818
- return esc_url(home_url());
819
  }
820
- }else{
821
- return esc_url(home_url());
822
  }
 
 
 
823
  }
824
 
825
  /**
3
  Plugin Name: Super Socializer
4
  Plugin URI: https://super-socializer-wordpress.heateor.com
5
  Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Media follow and more.
6
+ Version: 7.11.10
7
  Author: Team Heateor
8
  Author URI: https://www.heateor.com
9
  Text Domain: super-socializer
11
  License: GPL2+
12
  */
13
  defined('ABSPATH') or die("Cheating........Uh!!");
14
+ define('THE_CHAMP_SS_VERSION', '7.11.10');
15
 
16
  require 'helper.php';
17
 
797
  }else{
798
  $option = 'login';
799
  }
800
+ $redirectionUrl = esc_url(home_url());
801
  if(isset($theChampLoginOptions[$option.'_redirection'])){
802
  if($theChampLoginOptions[$option.'_redirection'] == 'same'){
803
  $http = the_champ_get_http();
806
  }else{
807
  $url = html_entity_decode(esc_url($http.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]));
808
  }
809
+ $redirectionUrl = the_champ_get_valid_url($url);
810
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'homepage'){
811
+ $redirectionUrl = esc_url(home_url());
812
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'account'){
813
+ $redirectionUrl = admin_url();
814
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'custom' && $theChampLoginOptions[$option.'_redirection_url'] != ''){
815
+ $redirectionUrl = esc_url($theChampLoginOptions[$option.'_redirection_url']);
816
  }elseif($theChampLoginOptions[$option.'_redirection'] == 'bp_profile' && $user_ID != 0){
817
+ $redirectionUrl = function_exists('bp_core_get_user_domain') ? bp_core_get_user_domain($user_ID) : admin_url();
 
 
818
  }
 
 
819
  }
820
+ $redirectionUrl = apply_filters('heateor_ss_login_redirection_url_filter', $redirectionUrl, $theChampLoginOptions, $user_ID, $twitterRedirect, $register);
821
+
822
+ return $redirectionUrl;
823
  }
824
 
825
  /**