Version Description
- [Improvement] Performance improvement
Download this release
Release Info
Developer | the_champ |
Plugin | WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer |
Version | 7.12.16 |
Comparing to | |
See all releases |
Code changes from version 7.12.15 to 7.12.16
- inc/social_sharing.php +18 -14
- readme.txt +8 -2
- super_socializer.php +2 -2
inc/social_sharing.php
CHANGED
@@ -1054,9 +1054,10 @@ function heateor_ss_update_share_counts($targetUrl, $shareCounts){
|
|
1054 |
$postId = heateor_ss_get_share_count_transient_id($targetUrl);
|
1055 |
|
1056 |
if(!isset($shareCounts['facebook'])){
|
1057 |
-
$savedShareCounts = heateor_ss_get_saved_share_counts(
|
1058 |
-
$
|
1059 |
-
|
|
|
1060 |
}
|
1061 |
|
1062 |
if($postId == 'custom'){
|
@@ -1160,18 +1161,21 @@ function heateor_ss_get_share_count_transient_id($targetUrl){
|
|
1160 |
* Determine which url to use for Whatsapp share
|
1161 |
*/
|
1162 |
function heateor_ss_whatsapp_share_api(){
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
|
|
|
|
1174 |
}
|
|
|
1175 |
}
|
1176 |
|
1177 |
/**
|
1054 |
$postId = heateor_ss_get_share_count_transient_id($targetUrl);
|
1055 |
|
1056 |
if(!isset($shareCounts['facebook'])){
|
1057 |
+
$savedShareCounts = heateor_ss_get_saved_share_counts($postId, $targetUrl);
|
1058 |
+
if(isset($savedShareCounts['facebook'])){
|
1059 |
+
$shareCounts['facebook'] = $savedShareCounts['facebook'];
|
1060 |
+
}
|
1061 |
}
|
1062 |
|
1063 |
if($postId == 'custom'){
|
1161 |
* Determine which url to use for Whatsapp share
|
1162 |
*/
|
1163 |
function heateor_ss_whatsapp_share_api(){
|
1164 |
+
if(isset($_SERVER['HTTP_USER_AGENT'])){
|
1165 |
+
// detect the device for Whatsapp share API
|
1166 |
+
$iphone = strpos($_SERVER['HTTP_USER_AGENT'], "iPhone");
|
1167 |
+
$android = strpos($_SERVER['HTTP_USER_AGENT'], "Android");
|
1168 |
+
$palmpre = strpos($_SERVER['HTTP_USER_AGENT'], "webOS");
|
1169 |
+
$berry = strpos($_SERVER['HTTP_USER_AGENT'], "BlackBerry");
|
1170 |
+
$ipod = strpos($_SERVER['HTTP_USER_AGENT'], "iPod");
|
1171 |
+
// check if is a mobile
|
1172 |
+
if($iphone || $android || $palmpre || $ipod || $berry == true){
|
1173 |
+
return 'api';
|
1174 |
+
}else{
|
1175 |
+
return 'web';
|
1176 |
+
}
|
1177 |
}
|
1178 |
+
return 'api';
|
1179 |
}
|
1180 |
|
1181 |
/**
|
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: 5.1
|
7 |
-
Stable tag: 7.12.
|
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
|
@@ -212,6 +212,9 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
212 |
8. **Social Commenting**: Disqus Commenting selected
|
213 |
|
214 |
== Changelog ==
|
|
|
|
|
|
|
215 |
= 7.12.15 =
|
216 |
* [Bugfix] Center alignment for like buttons enabled from Super Socializer > Like Buttons page stopped working from version 7.12.10
|
217 |
|
@@ -1782,4 +1785,7 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
1782 |
* [Bugfix] Previous update was generating Javascript error when Whatsapp share icon was not enabled
|
1783 |
|
1784 |
= 7.12.15 =
|
1785 |
-
* [Bugfix] Center alignment for like buttons enabled from Super Socializer > Like Buttons page stopped working from version 7.12.10
|
|
|
|
|
|
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: 5.1
|
7 |
+
Stable tag: 7.12.16
|
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
|
212 |
8. **Social Commenting**: Disqus Commenting selected
|
213 |
|
214 |
== Changelog ==
|
215 |
+
= 7.12.16 =
|
216 |
+
* [Improvement] Performance improvement
|
217 |
+
|
218 |
= 7.12.15 =
|
219 |
* [Bugfix] Center alignment for like buttons enabled from Super Socializer > Like Buttons page stopped working from version 7.12.10
|
220 |
|
1785 |
* [Bugfix] Previous update was generating Javascript error when Whatsapp share icon was not enabled
|
1786 |
|
1787 |
= 7.12.15 =
|
1788 |
+
* [Bugfix] Center alignment for like buttons enabled from Super Socializer > Like Buttons page stopped working from version 7.12.10
|
1789 |
+
|
1790 |
+
= 7.12.16 =
|
1791 |
+
* [Improvement] Performance improvement
|
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.12.
|
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.12.
|
15 |
|
16 |
require 'helper.php';
|
17 |
|
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.12.16
|
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.12.16');
|
15 |
|
16 |
require 'helper.php';
|
17 |
|