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

Version Description

  • [Bugfix] Sharing icons disappeared from some pages after updating plugin to previous version
  • [Improvement] Included WordPress filter 'authenticate' before logging in user
Download this release

Release Info

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

Code changes from version 7.5.4 to 7.5.5

inc/social_login.php CHANGED
@@ -93,6 +93,11 @@ if(isset($theChampLoginOptions['enable_wc_checkout']) && $theChampLoginOptions['
93
  * Login user to Wordpress.
94
  */
95
  function the_champ_login_user($userId, $profileData = array(), $socialId = '', $update = false){
 
 
 
 
 
96
  if($update && !get_user_meta($userId, 'thechamp_dontupdate_avatar', true)){
97
  if(isset($profileData['avatar']) && $profileData['avatar'] != ''){
98
  update_user_meta($userId, 'thechamp_avatar', $profileData['avatar']);
@@ -105,7 +110,7 @@ function the_champ_login_user($userId, $profileData = array(), $socialId = '', $
105
  update_user_meta($userId, 'thechamp_current_id', $socialId);
106
  }
107
  do_action('the_champ_login_user', $userId, $profileData, $socialId, $update);
108
- $user = get_user_by( 'id', $userId );
109
  wp_set_current_user($userId, $user -> user_login);
110
  wp_set_auth_cookie($userId);
111
  do_action('wp_login', $user -> user_login);
93
  * Login user to Wordpress.
94
  */
95
  function the_champ_login_user($userId, $profileData = array(), $socialId = '', $update = false){
96
+ $user = get_user_by('id', $userId);
97
+ $user = apply_filters('authenticate', $user, $user -> user_login, '');
98
+ if(is_wp_error($user)){
99
+ return;
100
+ }
101
  if($update && !get_user_meta($userId, 'thechamp_dontupdate_avatar', true)){
102
  if(isset($profileData['avatar']) && $profileData['avatar'] != ''){
103
  update_user_meta($userId, 'thechamp_avatar', $profileData['avatar']);
110
  update_user_meta($userId, 'thechamp_current_id', $socialId);
111
  }
112
  do_action('the_champ_login_user', $userId, $profileData, $socialId, $update);
113
+
114
  wp_set_current_user($userId, $user -> user_login);
115
  wp_set_auth_cookie($userId);
116
  do_action('wp_login', $user -> user_login);
inc/social_sharing.php CHANGED
@@ -703,23 +703,13 @@ if(isset($theChampSharingOptions['woocom_thankyou']) || isset($theChampCounterOp
703
  * Remove render sharing action from Excerpts, as it gets nasty due to strip_tags()
704
  */
705
  function the_champ_remove_render_sharing($content){
706
- remove_action('the_content', 'the_champ_render_sharing');
707
- if(!is_home()){
708
- add_filter('the_content', 'the_champ_render_sharing_next_time', 98);
709
  }
710
  return $content;
711
  }
712
  add_filter('get_the_excerpt', 'the_champ_remove_render_sharing', 9);
713
 
714
- /**
715
- * Apply the_content filter "next time"
716
- */
717
- function the_champ_render_sharing_next_time( $content ) {
718
- add_filter('the_content', 'the_champ_render_sharing', 98);
719
-
720
- return $content;
721
- }
722
-
723
  /**
724
  * Get sharing count for providers
725
  */
703
  * Remove render sharing action from Excerpts, as it gets nasty due to strip_tags()
704
  */
705
  function the_champ_remove_render_sharing($content){
706
+ if(is_home()){
707
+ remove_action('the_content', 'the_champ_render_sharing');
 
708
  }
709
  return $content;
710
  }
711
  add_filter('get_the_excerpt', 'the_champ_remove_render_sharing', 9);
712
 
 
 
 
 
 
 
 
 
 
713
  /**
714
  * Get sharing count for providers
715
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.heateor.com/donate?action=Super+Socializer
4
  Tags: the champ, champ, social login, social sharing, social commenting, social comments, social plugin, buddypress, bbpress, social share, comments, share post, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, social sign-in, signin, sign up, signup, social connect, facebook login, twitter login, google login, google+ login, linkedin login, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 4.4.2
7
- Stable tag: 7.5.4
8
  License: GPLv2 or later
9
 
10
  The unique Social Plugin to let you integrate Social Login, Social Share and Social Comments at your website
@@ -204,6 +204,10 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
204
  8. **Social Commenting**: Disqus Commenting selected
205
 
206
  == Changelog ==
 
 
 
 
207
  = 7.5.4 =
208
  * [Bugfix] Sharing title was appearing in open graph meta tags content, thereby in the webpage description in sharing window, in some cases
209
  * [Bugfix] Twitter sharing was not working if there was double quote in the title of webpage
@@ -858,4 +862,8 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
858
  = 7.5.4 =
859
  * [Bugfix] Sharing title was appearing in open graph meta tags content, thereby in the webpage description in sharing window, in some cases
860
  * [Bugfix] Twitter sharing was not working if there was double quote in the title of webpage
861
- * [Improvement] Removed French translation due to poor feedback
 
 
 
 
4
  Tags: the champ, champ, social login, social sharing, social commenting, social comments, social plugin, buddypress, bbpress, social share, comments, share post, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, social sign-in, signin, sign up, signup, social connect, facebook login, twitter login, google login, google+ login, linkedin login, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 4.4.2
7
+ Stable tag: 7.5.5
8
  License: GPLv2 or later
9
 
10
  The unique Social Plugin to let you integrate Social Login, Social Share and Social Comments at your website
204
  8. **Social Commenting**: Disqus Commenting selected
205
 
206
  == Changelog ==
207
+ = 7.5.5 =
208
+ * [Bugfix] Sharing icons disappeared from some pages after updating plugin to previous version
209
+ * [Improvement] Included WordPress filter 'authenticate' before logging in user
210
+
211
  = 7.5.4 =
212
  * [Bugfix] Sharing title was appearing in open graph meta tags content, thereby in the webpage description in sharing window, in some cases
213
  * [Bugfix] Twitter sharing was not working if there was double quote in the title of webpage
862
  = 7.5.4 =
863
  * [Bugfix] Sharing title was appearing in open graph meta tags content, thereby in the webpage description in sharing window, in some cases
864
  * [Bugfix] Twitter sharing was not working if there was double quote in the title of webpage
865
+ * [Improvement] Removed French translation due to poor feedback
866
+
867
+ = 7.5.5 =
868
+ * [Bugfix] Sharing icons disappeared from some pages after updating plugin to previous version
869
+ * [Improvement] Included WordPress filter 'authenticate' before logging in user
super_socializer.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Super Socializer
4
  Plugin URI: http://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 and more.
6
- Version: 7.5.4
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.5.4');
15
 
16
  $theChampLoginOptions = get_option('the_champ_login');
17
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
3
  Plugin Name: Super Socializer
4
  Plugin URI: http://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 and more.
6
+ Version: 7.5.5
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.5.5');
15
 
16
  $theChampLoginOptions = get_option('the_champ_login');
17
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){